Try an export inside of define
This commit is contained in:
parent
871bd96c05
commit
4afe81b275
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user