From a5b37bc1bef54f629c09ece30492d9ef0c80c539 Mon Sep 17 00:00:00 2001 From: bryan Date: Sun, 19 Mar 2023 11:29:32 -0400 Subject: [PATCH] Fix switch scopes for unknown OS --- installJRMC | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/installJRMC b/installJRMC index 8253c83..82244a4 100755 --- a/installJRMC +++ b/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