summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2007-05-19 08:13:26 +0000
committerJohn Wiegley <johnw@newartisans.com>2008-04-13 03:39:05 -0400
commitc331dcf09e307747757082a6f868238954e19e55 (patch)
tree88363fd9e523d607a31f8310fe340c8f7dfce79a
parentc866e386be25b2f1b485a6b27e6d4ff467047a7b (diff)
downloadfork-ledger-c331dcf09e307747757082a6f868238954e19e55.tar.gz
fork-ledger-c331dcf09e307747757082a6f868238954e19e55.tar.bz2
fork-ledger-c331dcf09e307747757082a6f868238954e19e55.zip
changes
-rwxr-xr-xrun_verify.sh7
-rwxr-xr-xverify.sh1
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
diff --git a/verify.sh b/verify.sh
index 4a3a0964..14f3e3f4 100755
--- a/verify.sh
+++ b/verify.sh
@@ -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