Skip to content
This repository has been archived by the owner on Nov 8, 2023. It is now read-only.

Commit

Permalink
Fix make_windows_sdk when invoked without params.
Browse files Browse the repository at this point in the history
Change-Id: I24a6e06498a343a31c562e0c765f6e8075b1916e
  • Loading branch information
Raphael committed Mar 6, 2010
1 parent 9d53382 commit 84f6217
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions build/tools/make_windows_sdk.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 84f6217

Please sign in to comment.