diff options
author | Christophe Lyon <christophe.lyon@linaro.org> | 2016-02-02 23:29:08 +0100 |
---|---|---|
committer | Christophe Lyon <christophe.lyon@linaro.org> | 2016-02-02 23:29:08 +0100 |
commit | 8fca7c9b31485bf35f159eb44642798a8bfc2a48 (patch) | |
tree | adf315693f0e49779fb1d9dacc9aad3bee7463b1 /abe.sh | |
parent | fb81d31e3cb8fba013663c42189d37e24a5146ab (diff) |
Quote argument of --set.
This is needed in case we pass space-separated options.
For instance when using --set 'runtestflags=-v -v'.
Change-Id: Ic0145e68197784b5557eaa99373db2bc84d5bb2d
Diffstat (limited to 'abe.sh')
-rwxr-xr-x | abe.sh | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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; |