summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOswald Buddenhagen <oswald.buddenhagen@theqtcompany.com>2016-01-07 16:56:39 +0100
committerOswald Buddenhagen <oswald.buddenhagen@theqtcompany.com>2016-01-08 12:40:14 +0000
commit889fcfbf2b97c71146d182277068e7fbdb06587f (patch)
tree677af44a5bd28dabdce4bf99e4b7ac16ef86a90f
parentc38b14e2519a2bdbd835e52ee699ae9ac3f45d00 (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-xconfigure4
1 files changed, 2 insertions, 2 deletions
diff --git a/configure b/configure
index 61f0ea0bea..254542fc6c 100755
--- a/configure
+++ b/configure
@@ -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