Browse Source

Fix switch scopes for unknown OS

bryan 2 years ago
parent
commit
a5b37bc1be
1 changed files with 3 additions and 3 deletions
  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