diff options
author | Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com> | 2016-01-07 16:56:39 +0100 |
---|---|---|
committer | Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com> | 2016-01-08 12:40:14 +0000 |
commit | 889fcfbf2b97c71146d182277068e7fbdb06587f (patch) | |
tree | 677af44a5bd28dabdce4bf99e4b7ac16ef86a90f | |
parent | c38b14e2519a2bdbd835e52ee699ae9ac3f45d00 (diff) |
fix quoting in makeabs()
'local' is treated as a command, so its arguments need to be quoted,
unlike in a real variable assignment.
amends 4b557751e.
Change-Id: I5a4c929e52e2344a6129c8e9dd4c0c80cd408ff0
Reviewed-by: Joerg Bornemann <joerg.bornemann@theqtcompany.com>
-rwxr-xr-x | configure | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -126,8 +126,8 @@ shellQuoteLines() makeabs() { - local FILE=$1 - local RES=$FILE + local FILE="$1" + local RES="$FILE" if [ -z "${FILE##/*}" ]; then true elif [ "$OSTYPE" = "msys" -a -z "${FILE##[a-zA-Z]:[/\\]*}" ]; then |