Try an export inside of define

This commit is contained in:
sigonasr2, Sig, Sigo 2022-05-17 19:54:38 +00:00
parent 871bd96c05
commit 4afe81b275
2 changed files with 2 additions and 2 deletions

View File

@ -3,7 +3,7 @@ export VARS=("")
function define() { function define() {
VARS+=("$1") VARS+=("$1")
value="${*:2}" value="${*:2}"
eval "$1"='$value' eval export "$1"='$value'
} }
if [[ $(pwd) != *"SigScript" ]]; then if [[ $(pwd) != *"SigScript" ]]; then

View File

@ -1,3 +1,3 @@
d682bd9df64981bdd93ed1413e96802c - d6b20a25a04a60d94f466e48fa60ac69 -
548480c89fb8d6668a83ee9e534eb2dd - 548480c89fb8d6668a83ee9e534eb2dd -
2b4cc4fb64d8f08c043cafba41d29473 - 2b4cc4fb64d8f08c043cafba41d29473 -