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>
This commit is contained in:
parent
c38b14e251
commit
889fcfbf2b
4
configure
vendored
4
configure
vendored
@ -126,8 +126,8 @@ shellQuoteLines()
|
|||||||
|
|
||||||
makeabs()
|
makeabs()
|
||||||
{
|
{
|
||||||
local FILE=$1
|
local FILE="$1"
|
||||||
local RES=$FILE
|
local RES="$FILE"
|
||||||
if [ -z "${FILE##/*}" ]; then
|
if [ -z "${FILE##/*}" ]; then
|
||||||
true
|
true
|
||||||
elif [ "$OSTYPE" = "msys" -a -z "${FILE##[a-zA-Z]:[/\\]*}" ]; then
|
elif [ "$OSTYPE" = "msys" -a -z "${FILE##[a-zA-Z]:[/\\]*}" ]; then
|
||||||
|
Loading…
Reference in New Issue
Block a user