소스 검색

Fix switch scopes for unknown OS

bryan 2 년 전
부모
커밋
a5b37bc1be
1개의 변경된 파일3개의 추가작업 그리고 3개의 파일을 삭제
  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