summaryrefslogtreecommitdiff
path: root/usr/src
diff options
context:
space:
mode:
authorGarrett D'Amore <garrett@damore.org>2014-09-05 17:24:20 -0700
committerGarrett D'Amore <garrett@damore.org>2014-10-01 14:57:55 -0700
commit306f6ed40fde655ff0aa12ed2124ef12881d66b0 (patch)
tree198294a3ee0353528fd9a2b5c67e65faea7100c0 /usr/src
parent50c4511157ef5d522f0c717eef41fe9ddb58f171 (diff)
downloadillumos-joyent-306f6ed40fde655ff0aa12ed2124ef12881d66b0.tar.gz
5155 NIGHTLY_OPTIONS last argument should be unquoted
Reviewed by: Richard Lowe <richlowe@richlowe.net> Approved by: Dan McDonald <danmcd@omniti.com>
Diffstat (limited to 'usr/src')
-rw-r--r--usr/src/tools/scripts/bldenv.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr/src/tools/scripts/bldenv.sh b/usr/src/tools/scripts/bldenv.sh
index 26a93cab4a..3722594e70 100644
--- a/usr/src/tools/scripts/bldenv.sh
+++ b/usr/src/tools/scripts/bldenv.sh
@@ -23,6 +23,7 @@
#
# Copyright (c) 1999, 2010, Oracle and/or its affiliates. All rights reserved.
# Copyright 2011 Nexenta Systems, Inc. All rights reserved.
+# Copyright 2014 Garrett D'Amore <garrett@damore.org>
#
# Uses supplied "env" file, based on /opt/onbld/etc/env, to set shell variables
# before spawning a shell for doing a release-style builds interactively
@@ -229,7 +230,7 @@ shift
# must match the getopts in nightly.sh
OPTIND=1
NIGHTLY_OPTIONS="-${NIGHTLY_OPTIONS#-}"
-while getopts '+0ABCDdFfGIilMmNnpRrtUuwW' FLAG "$NIGHTLY_OPTIONS"
+while getopts '+0ABCDdFfGIilMmNnpRrtUuwW' FLAG $NIGHTLY_OPTIONS
do
case "$FLAG" in
t) flags.t=true ;;