From: Andreas Schwab Date: Thu, 16 Jan 2020 14:26:31 +0000 (+0100) Subject: gcc-git-customization.sh: avoid double expansion X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=7aa4e0db959d4cfb755ba397f9ace987895b58d7;p=gcc.git gcc-git-customization.sh: avoid double expansion --- diff --git a/contrib/gcc-git-customization.sh b/contrib/gcc-git-customization.sh index b7e4ce30806..26f4389bcc8 100755 --- a/contrib/gcc-git-customization.sh +++ b/contrib/gcc-git-customization.sh @@ -11,9 +11,9 @@ ask () { read answer if [ "x$answer" = "x" ] then - eval $var=\"$default\" + eval $var=\$default else - eval $var=\"$answer\" + eval $var=\$answer fi }