summaryrefslogtreecommitdiff
path: root/dist
diff options
context:
space:
mode:
Diffstat (limited to 'dist')
-rwxr-xr-xdist1
1 files changed, 1 insertions, 0 deletions
diff --git a/dist b/dist
index e06e7c2..ad13a1f 100755
--- a/dist
+++ b/dist
@@ -11,6 +11,7 @@ usage="usage: $0 [-t]"
owd=`pwd`
trap "{ cd $owd; exit 1; }" ERR
+set -o errtrace # Trap in functions.
function info () { echo "$*" 1>&2; }
function error () { info "$*"; exit 1; }