changes
This commit is contained in:
parent
c866e386be
commit
c331dcf09e
2 changed files with 3 additions and 5 deletions
|
|
@ -7,11 +7,8 @@
|
||||||
#
|
#
|
||||||
# 0 0 * * * $HOME/src/ledger/run_verify.sh /tmp
|
# 0 0 * * * $HOME/src/ledger/run_verify.sh /tmp
|
||||||
#
|
#
|
||||||
# Note that this script should be run as root, otherwise it will be
|
# On both success and failure the build log and build products are
|
||||||
# unable to clean up after itself (since make distcheck creates files
|
# left in the temporary directory for later examination if desired.
|
||||||
# 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.
|
|
||||||
|
|
||||||
SRCDIR=$(dirname $0)
|
SRCDIR=$(dirname $0)
|
||||||
if [ -z "$SRCDIR" ]; then
|
if [ -z "$SRCDIR" ]; then
|
||||||
|
|
|
||||||
|
|
@ -15,6 +15,7 @@ else
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ -d $TMPDIR/ledger ]; then
|
if [ -d $TMPDIR/ledger ]; then
|
||||||
|
find $TMPDIR/ledger -print0 | xargs -0 chmod u+w
|
||||||
rm -fr $TMPDIR/ledger || exit 1
|
rm -fr $TMPDIR/ledger || exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue