Skip to content

Commit c7a0b9c

Browse files
committed
Do not put double quotes around empty variables.
1 parent 461945e commit c7a0b9c

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

configure

+6-1
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,12 @@ putpathvar() {
8686
else
8787
printf "configure: %-20s := %s %s\n" $1 "$T" "$2"
8888
fi
89-
printf "%-20s := \"%s\"\n" $1 "$T" >>config.tmp
89+
if [ -z "$T" ]
90+
then
91+
printf "%-20s := \n" $1 >>config.tmp
92+
else
93+
printf "%-20s := \"%s\"\n" $1 "$T" >>config.tmp
94+
fi
9095
}
9196

9297
probe() {

0 commit comments

Comments
 (0)