summaryrefslogtreecommitdiff
path: root/install
diff options
context:
space:
mode:
Diffstat (limited to 'install')
-rwxr-xr-xinstall1
1 files changed, 1 insertions, 0 deletions
diff --git a/install b/install
index aa9a6b1..9475c22 100755
--- a/install
+++ b/install
@@ -35,6 +35,7 @@ usage="usage: $0 [options] <build2-toolchain-archive> <build2-repo>"
owd=`pwd`
trap "{ cd $owd; exit 1; }" ERR
+set -o errtrace # Trap in functions.
function info () { echo "$*" 1>&2; }
function error () { info "$*"; exit 1; }