diff options
| author | Vitali Haravy <HumaneProgrammer@gmail.com> | 2014-11-07 13:17:11 +0000 |
|---|---|---|
| committer | Vitali Haravy <HumaneProgrammer@gmail.com> | 2014-11-07 13:17:11 +0000 |
| commit | c7a0b9c562dacdedb8dce7ef1bc21d7fca3a87df (patch) | |
| tree | f2c2867f0c92656249503fd2f0caf8bbcf68adb7 | |
| parent | 461945ee9eb2cc596f8b3b099ca2a4c729fba10f (diff) | |
| download | rust-c7a0b9c562dacdedb8dce7ef1bc21d7fca3a87df.tar.gz rust-c7a0b9c562dacdedb8dce7ef1bc21d7fca3a87df.zip | |
Do not put double quotes around empty variables.
| -rwxr-xr-x | configure | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/configure b/configure index 2115b134db3..77900253014 100755 --- a/configure +++ b/configure @@ -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() { |
