From 32527a204a6af7f45eeb6c561af23207a0de985f Mon Sep 17 00:00:00 2001 From: AntonKarabaza Date: Mon, 9 Oct 2017 16:19:13 +0300 Subject: [PATCH] Fix 'configure' command to handle configs with whitespaces #83 --- src/main/git-elegant-configure | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/git-elegant-configure b/src/main/git-elegant-configure index af65c93..6b0a4f0 100755 --- a/src/main/git-elegant-configure +++ b/src/main/git-elegant-configure @@ -47,7 +47,7 @@ _configure() { fi else if [ -n "${answer}" ]; then - git config $MODE $(eval "echo -n \$${f}_key") $answer + git config $MODE $(eval "echo -n \$${f}_key") "$answer" fi fi done