diff --git a/scripts/build.sh b/scripts/build.sh index 61a6aed0af..8ac354ea3e 100755 --- a/scripts/build.sh +++ b/scripts/build.sh @@ -11,7 +11,7 @@ while [ -h "$SOURCE" ] ; do SOURCE="$(readlink "$SOURCE")"; done DIR="$( cd -P "$( dirname "$SOURCE" )/.." && pwd )" # Change into that directory -cd "$DIR" +cd "$DIR" || exit # Determine the arch/os combos we're building for XC_ARCH=${XC_ARCH:-"386 amd64 arm"}