aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaxim Kuvyrkov <maxim.kuvyrkov@linaro.org>2016-03-08 04:42:42 +0000
committerLinaro Code Review <review@review.linaro.org>2016-03-08 04:42:42 +0000
commit5ad5651f3161082a8ace02b8c60c457ebaf07eef (patch)
treef73fb019d7a97c176677bb0845d716ccf3cc9932
parentf03bface90aa7f9faff1cd88bf8e82399b6c0af2 (diff)
parent8fca7c9b31485bf35f159eb44642798a8bfc2a48 (diff)
Merge "Quote argument of --set."
-rwxr-xr-xabe.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/abe.sh b/abe.sh
index 3a5d494d..13470503 100755
--- a/abe.sh
+++ b/abe.sh
@@ -916,14 +916,14 @@ while test $# -gt 0; do
shift
;;
--set*|-set*)
- check_directive $1 set "set" $2
+ check_directive $1 set "set" "$2"
# Test if --target follows the --set command put --set and it's
# directive on to the back of the inputs. This is because clibrary
# validity depends on the target.
if test "`echo $@ | grep -c "\-targ.*"`" -gt 0; then
# Push $1 and $2 onto the back of the inputs for later processing.
- set -- $@ $1 $2
+ set -- "$@" "$1" "$2"
# Shift off them off the front.
shift 2;
continue;