From 84f621775ef6dd190539fbf2c31197f7925093d7 Mon Sep 17 00:00:00 2001 From: Raphael Date: Sat, 6 Mar 2010 14:50:50 -0800 Subject: [PATCH] Fix make_windows_sdk when invoked without params. Change-Id: I24a6e06498a343a31c562e0c765f6e8075b1916e --- build/tools/make_windows_sdk.sh | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/build/tools/make_windows_sdk.sh b/build/tools/make_windows_sdk.sh index 6afc1852..7df662d9 100755 --- a/build/tools/make_windows_sdk.sh +++ b/build/tools/make_windows_sdk.sh @@ -13,15 +13,14 @@ # - If you think you may have Windows versions of tools (e.g. make) installed, it may # reduce confusion levels to 'export PATH=/usr/bin' -set -e # Fail this script as soon as a command fails -- fail early, fail fast - - PROG_NAME="$0" SDK_ZIP="$1"; shift DIST_DIR="$1"; shift TEMP_DIR="$1"; shift [ -z "$TEMP_DIR" ] && TEMP_DIR=${TMP:-/tmp} +set -e # Fail this script as soon as a command fails -- fail early, fail fast + function die() { echo "Error:" $* echo "Aborting" -- 2.11.0