Do not put double quotes around empty variables.

This commit is contained in:
Vitali Haravy 2014-11-07 13:17:11 +00:00
parent 461945ee9e
commit c7a0b9c562
1 changed files with 6 additions and 1 deletions

7
configure vendored
View File

@ -86,7 +86,12 @@ putpathvar() {
else
printf "configure: %-20s := %s %s\n" $1 "$T" "$2"
fi
printf "%-20s := \"%s\"\n" $1 "$T" >>config.tmp
if [ -z "$T" ]
then
printf "%-20s := \n" $1 >>config.tmp
else
printf "%-20s := \"%s\"\n" $1 "$T" >>config.tmp
fi
}
probe() {