Skip to content

Commit

Permalink
fix quoting in makeabs()
Browse files Browse the repository at this point in the history
'local' is treated as a command, so its arguments need to be quoted,
unlike in a real variable assignment.

amends 4b55775.

Change-Id: I5a4c929e52e2344a6129c8e9dd4c0c80cd408ff0
Reviewed-by: Joerg Bornemann <[email protected]>
  • Loading branch information
ossilator committed Jan 8, 2016
1 parent c38b14e commit 889fcfb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions configure
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 889fcfb

Please sign in to comment.