mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-22 06:44:35 +00:00
Do not put double quotes around empty variables.
This commit is contained in:
parent
461945ee9e
commit
c7a0b9c562
7
configure
vendored
7
configure
vendored
@ -86,7 +86,12 @@ putpathvar() {
|
|||||||
else
|
else
|
||||||
printf "configure: %-20s := %s %s\n" $1 "$T" "$2"
|
printf "configure: %-20s := %s %s\n" $1 "$T" "$2"
|
||||||
fi
|
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() {
|
probe() {
|
||||||
|
Loading…
Reference in New Issue
Block a user