This commit is contained in:
John Wiegley 2007-05-19 08:13:26 +00:00
parent c866e386be
commit c331dcf09e
2 changed files with 3 additions and 5 deletions

View file

@ -7,11 +7,8 @@
#
# 0 0 * * * $HOME/src/ledger/run_verify.sh /tmp
#
# Note that this script should be run as root, otherwise it will be
# unable to clean up after itself (since make distcheck creates files
# owned by a different user). Also, whether on success or failure the
# build log and build products are left in the temporary directory for
# later examination if desired.
# On both success and failure the build log and build products are
# left in the temporary directory for later examination if desired.
SRCDIR=$(dirname $0)
if [ -z "$SRCDIR" ]; then

View file

@ -15,6 +15,7 @@ else
fi
if [ -d $TMPDIR/ledger ]; then
find $TMPDIR/ledger -print0 | xargs -0 chmod u+w
rm -fr $TMPDIR/ledger || exit 1
fi