diff --git a/setup-env/EASetup.sh b/setup-env/EASetup.sh index 9f5f092..a2d60c7 100644 --- a/setup-env/EASetup.sh +++ b/setup-env/EASetup.sh @@ -57,6 +57,7 @@ unsetVars() { unset OVER unset NP_USR unset pkgmgr + unset relll } introduction() { @@ -80,7 +81,7 @@ introduction() { # first, let's check it's Fedora we're running on... isFedora() { - local relll="/etc/redhat-release" + export relll="/etc/redhat-release" if [ ! -f "$relll" ]; then echo -e " ${CROSS} only ${COL_LIGHT_BLUE}Fedora/CentOS are supported${COL_NC} at the moment, exiting..." unsetVars && exit 9807362