diff options
author | John Wiegley <johnw@newartisans.com> | 2007-05-19 08:13:26 +0000 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2008-04-13 03:39:05 -0400 |
commit | c331dcf09e307747757082a6f868238954e19e55 (patch) | |
tree | 88363fd9e523d607a31f8310fe340c8f7dfce79a | |
parent | c866e386be25b2f1b485a6b27e6d4ff467047a7b (diff) | |
download | fork-ledger-c331dcf09e307747757082a6f868238954e19e55.tar.gz fork-ledger-c331dcf09e307747757082a6f868238954e19e55.tar.bz2 fork-ledger-c331dcf09e307747757082a6f868238954e19e55.zip |
changes
-rwxr-xr-x | run_verify.sh | 7 | ||||
-rwxr-xr-x | verify.sh | 1 |
2 files changed, 3 insertions, 5 deletions
diff --git a/run_verify.sh b/run_verify.sh index 600d6b2c..236a9e67 100755 --- a/run_verify.sh +++ b/run_verify.sh @@ -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 @@ -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 |