From 7c4ed17dbe75737834231dec73e786efc201cf5b Mon Sep 17 00:00:00 2001 From: bryan Date: Fri, 7 Jan 2022 12:15:56 -0500 Subject: [PATCH] Increase crossbuilding flexibility --- installJRMC | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/installJRMC b/installJRMC index 902464a..97d3474 100755 --- a/installJRMC +++ b/installJRMC @@ -252,12 +252,7 @@ parseInput() { fi ;; --build) - - echo HERE - echo "$1" "$2" - BUILD_SWITCH=true - #BUILD_TARGET="$2" - shift + shift && BUILD_TARGET="$1" ;; --build-suse) BUILD_SWITCH=true @@ -340,6 +335,7 @@ parseInput() { fi } +[[ -v BUILD_TARGET ]] && echo "$BUILD_TARGET" ####################################### # Use several methods to determine the latest JRiver MC version