From 7aa4e0db959d4cfb755ba397f9ace987895b58d7 Mon Sep 17 00:00:00 2001 From: Andreas Schwab Date: Thu, 16 Jan 2020 15:26:31 +0100 Subject: [PATCH] gcc-git-customization.sh: avoid double expansion --- contrib/gcc-git-customization.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 } -- 2.30.2