gcc-git-customization.sh: avoid double expansion
authorAndreas Schwab <schwab@linux-m68k.org>
Thu, 16 Jan 2020 14:26:31 +0000 (15:26 +0100)
committerAndreas Schwab <schwab@linux-m68k.org>
Thu, 16 Jan 2020 14:48:31 +0000 (15:48 +0100)
contrib/gcc-git-customization.sh

index b7e4ce308062251a4c41484f91b0e04d6203fe9e..26f4389bcc8a6682a224befa1e383851aa736114 100755 (executable)
@@ -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
 }