Skip to content

Commit

Permalink
5155 NIGHTLY_OPTIONS last argument should be unquoted
Browse files Browse the repository at this point in the history
Reviewed by: Richard Lowe <[email protected]>
Approved by: Dan McDonald <[email protected]>
  • Loading branch information
gdamore committed Oct 1, 2014
1 parent 50c4511 commit 306f6ed
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion usr/src/tools/scripts/bldenv.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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 <[email protected]>
#
# 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
Expand Down Expand Up @@ -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 ;;
Expand Down

0 comments on commit 306f6ed

Please sign in to comment.