From e3e1bcb671e61bf39d9272f309bbc1716fe14081 Mon Sep 17 00:00:00 2001 From: Hsieh Chin Fan Date: Tue, 14 Dec 2021 22:03:46 +0800 Subject: Fix logic error after validating config file When calling _validate_config(), we might use prompt to get 'user' and 'token' value. And they should be fed into variables. Or _reformat_config() will miss them. --- gist | 1 + 1 file changed, 1 insertion(+) diff --git a/gist b/gist index c38d5b8..82c390e 100755 --- a/gist +++ b/gist @@ -166,6 +166,7 @@ _configure() { value="'$2'" esac + eval $key="$value" echo $key="$value" >>$CONFIG } -- cgit v1.2.3-70-g09d2