Explorar o código

Fix switch scopes for unknown OS

bryan %!s(int64=2) %!d(string=hai) anos
pai
achega
a5b37bc1be
Modificáronse 1 ficheiros con 3 adicións e 3 borrados
  1. 3 3
      installJRMC

+ 3 - 3
installJRMC

@@ -331,9 +331,9 @@ init() {
                 err "OS detection failed!"
                 askOk "Continue with manual installation?" || exit 1
                 ID="unknown"
-                REPO_INSTALL_SWITCH=0
-                BUILD_SWITCH=1
-                LOCAL_INSTALL_SWITCH=1
+                declare -g REPO_INSTALL_SWITCH=0
+                declare -g BUILD_SWITCH=1
+                declare -g LOCAL_INSTALL_SWITCH=1
             fi
     esac