summaryrefslogtreecommitdiff
path: root/tools/proof
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2012-03-30 04:46:42 -0500
committerJohn Wiegley <johnw@newartisans.com>2012-03-30 04:46:42 -0500
commit715568bdd4b2c746882555714d6ecb7831f0b006 (patch)
tree598b7ae9ec6693749efb9387391b054f32457416 /tools/proof
parentdf1cbc33d15f91fa883a0fc7c048824848e09840 (diff)
downloadfork-ledger-715568bdd4b2c746882555714d6ecb7831f0b006.tar.gz
fork-ledger-715568bdd4b2c746882555714d6ecb7831f0b006.tar.bz2
fork-ledger-715568bdd4b2c746882555714d6ecb7831f0b006.zip
Minor changes to tools/proof
Diffstat (limited to 'tools/proof')
-rwxr-xr-xtools/proof7
1 files changed, 3 insertions, 4 deletions
diff --git a/tools/proof b/tools/proof
index 9ed7734c..7eafd0ef 100755
--- a/tools/proof
+++ b/tools/proof
@@ -28,11 +28,10 @@ ledger_proof() {
tee -a $LOGDIR/ledger-proof.log
if egrep -q '(ERROR|CRITICAL)' $LOGDIR/ledger-proof.log; then
- cat <<EOF | mutt -a $LOGDIR/ledger-proof.log \
- -s '[ledger] Proof build FAILED' johnw@newartisans.com
+ mutt -a $LOGDIR/ledger-proof.log \
+ -s '[ledger] Proof build FAILED' johnw@newartisans.com <<EOF
Ledger proof build FAILED, at commit $VERSION.
EOF
-
if [[ "$1" = "--alert" ]]; then
notify "Ledger proof build FAILED"
else
@@ -45,7 +44,7 @@ EOF
cd $DEST/ledger-proof/debug; make docs
cd $DEST/ledger-proof/gcov; make report
- cat <<EOF | mutt -s '[ledger] Proof build succeeded' johnw@newartisans.com
+ mutt -s '[ledger] Proof build succeeded' johnw@newartisans.com <<EOF
Ledger proof build succeeded! at commit $VERSION.
EOF
echo "Ledger proof build succeeded"