aboutsummaryrefslogtreecommitdiff
path: root/doall.sh
diff options
context:
space:
mode:
authorIan Kelling <iank@fsf.org>2018-06-05 00:44:23 -0400
committerIan Kelling <iank@fsf.org>2018-06-05 00:44:23 -0400
commit16ce915aac7add2650aa539a3f1428da358ee337 (patch)
tree2dbed69c59625f823a1dcd0d9e6a404d81128dac /doall.sh
parentbf52ba26d47054ed0619eb4f67f5f167f39ad5f8 (diff)
fix export.py error, add example output
Diffstat (limited to 'doall.sh')
-rwxr-xr-xdoall.sh5
1 files changed, 2 insertions, 3 deletions
diff --git a/doall.sh b/doall.sh
index ed1c61e..3ededc4 100755
--- a/doall.sh
+++ b/doall.sh
@@ -1,6 +1,7 @@
#!/bin/bash
-set -e
+set -eE -o pipefail
+trap 'echo "$0:$LINENO:error: \"$BASH_COMMAND\" returned $?" >&2' ERR
set -x
rm distfiles output *.log *.h5 -rf
@@ -60,5 +61,3 @@ find output -type f -empty -delete
echo no license: >> broken
grep "Project license" output/* -c |grep :0|sed 's/:0//' >> broken
grep "Project license" output/* -c |grep :0|sed 's/:0//'|xargs rm
-
-