From 889fcfbf2b97c71146d182277068e7fbdb06587f Mon Sep 17 00:00:00 2001
From: Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com>
Date: Thu, 7 Jan 2016 16:56:39 +0100
Subject: [PATCH] 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>
---
 configure | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/configure b/configure
index 61f0ea0beac..254542fc6c2 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
-- 
GitLab