Bug 1312964 - Follow-up to fix default args for build_gyp.sh r=bustage
authorTim Taubert <ttaubert@mozilla.com>
Wed, 26 Oct 2016 15:06:51 +0200
changeset 12766 7934f9deeeda0359fa7413bb1f27e0f584fc519b
parent 12765 431d58ac12ad793db441c1331a012646bb71f6af
child 12767 87927a9d502ed68eb3360ed11fd53b19d23dd2af
push id1708
push userttaubert@mozilla.com
push dateWed, 26 Oct 2016 13:13:00 +0000
reviewersbustage
bugs1312964
Bug 1312964 - Follow-up to fix default args for build_gyp.sh r=bustage
automation/taskcluster/scripts/build_gyp.sh
--- a/automation/taskcluster/scripts/build_gyp.sh
+++ b/automation/taskcluster/scripts/build_gyp.sh
@@ -6,13 +6,13 @@ if [[ $(id -u) -eq 0 ]]; then
     # Drop privileges by re-running this script.
     exec su worker -c "$0 $*"
 fi
 
 # Clone NSPR if needed.
 hg_clone https://hg.mozilla.org/projects/nspr nspr default
 
 # Build.
-nss/build.sh ${*-"-g -v"}
+nss/build.sh ${*--g -v}
 
 # Package.
 mkdir artifacts
 tar cvfjh artifacts/dist.tar.bz2 dist