diff options
author | John Wiegley <johnw@newartisans.com> | 2007-05-11 07:24:56 +0000 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2008-04-13 03:38:46 -0400 |
commit | f5d30696b2ad58b42b8640cfc6ac26a77963b675 (patch) | |
tree | 27c449f2018975a4e7f75cf1b7a7719aaf70065e /run_verify.sh | |
parent | dfcda6c709eb87eaea52c0f7916cb72334ff3db2 (diff) | |
download | fork-ledger-f5d30696b2ad58b42b8640cfc6ac26a77963b675.tar.gz fork-ledger-f5d30696b2ad58b42b8640cfc6ac26a77963b675.tar.bz2 fork-ledger-f5d30696b2ad58b42b8640cfc6ac26a77963b675.zip |
Fixed verify.sh
Diffstat (limited to 'run_verify.sh')
-rwxr-xr-x | run_verify.sh | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/run_verify.sh b/run_verify.sh new file mode 100755 index 00000000..743d8083 --- /dev/null +++ b/run_verify.sh @@ -0,0 +1,15 @@ +#!/bin/bash + +SRCDIR=$(dirname $0) + +if [ -n "$1" -a -d "$1" ]; then + TMPDIR="$1" +else + TMPDIR=/tmp +fi + +cd $TMPDIR || exit 1 + +cp -p "$SRCDIR"/verify.sh . || exit 1 + +./verify.sh > verify.out 2>&1 || (cat verify.out; exit 1) |