summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2007-05-11 07:25:07 +0000
committerJohn Wiegley <johnw@newartisans.com>2008-04-13 03:38:46 -0400
commitbc3b0b5577bd08e131e2c0884b30d364e6d3b38a (patch)
tree9beeda0e0e2cd599b2997b45fd1eab6a47b26210
parentc7f694967c8109c9c6e028b89e2b72afd1bb078a (diff)
downloadfork-ledger-bc3b0b5577bd08e131e2c0884b30d364e6d3b38a.tar.gz
fork-ledger-bc3b0b5577bd08e131e2c0884b30d364e6d3b38a.tar.bz2
fork-ledger-bc3b0b5577bd08e131e2c0884b30d364e6d3b38a.zip
*** no comment ***
-rwxr-xr-xrun_verify.sh10
-rwxr-xr-xverify.sh2
2 files changed, 8 insertions, 4 deletions
diff --git a/run_verify.sh b/run_verify.sh
index 719cb632..0a9d2f31 100755
--- a/run_verify.sh
+++ b/run_verify.sh
@@ -7,9 +7,11 @@
#
# 0 0 * * * $HOME/src/ledger/run_verify.sh /tmp
#
-# Note that this script should be run as root! Also, whether on
-# success or failure the build log and build products are left in the
-# temporary directory for later examination if desired.
+# 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.
SRCDIR=$(dirname $0)
@@ -26,3 +28,5 @@ cp -p "$SRCDIR"/verify.sh . || exit 1
(./verify.sh > verify.out 2>&1 || (cat verify.out; exit 1))
rm -f verify.sh
+
+exit 0
diff --git a/verify.sh b/verify.sh
index 65dbfaba..2f738e3f 100755
--- a/verify.sh
+++ b/verify.sh
@@ -75,7 +75,7 @@ function build_distcheck_from_distrib() {
dup_working_tree distcheck_distrib || exit 1
cd distcheck_distrib || exit 1
./configure CPPFLAGS="$MY_CPPFLAGS" LDFLAGS="$MY_LDFLAGS" || exit 1
- make distcheck || exit 1
+ make CPPFLAGS="$MY_CPPFLAGS" LDFLAGS="$MY_LDFLAGS" distcheck || exit 1
}
# Finally, we have the ordinary `build_ledger' function, which builds