summaryrefslogtreecommitdiff
path: root/run_verify.sh
diff options
context:
space:
mode:
Diffstat (limited to 'run_verify.sh')
-rwxr-xr-xrun_verify.sh32
1 files changed, 0 insertions, 32 deletions
diff --git a/run_verify.sh b/run_verify.sh
deleted file mode 100755
index 236a9e67..00000000
--- a/run_verify.sh
+++ /dev/null
@@ -1,32 +0,0 @@
-#!/bin/bash
-
-# This script can be from cron to regularly verify that Ledger is
-# sane. Such a cron entry might look like this, assuming you keep a
-# recent working tree in ~/src/ledger, and that you want all of the
-# temporary build products kept in /tmp:
-#
-# 0 0 * * * $HOME/src/ledger/run_verify.sh /tmp
-#
-# 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
- SRCDIR=$(pwd)
-fi
-
-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))
-
-rm -f verify.sh
-
-exit 0