Explorar el Código

Increase crossbuilding flexibility

bryan hace 3 años
padre
commit
7c4ed17dbe
Se han modificado 1 ficheros con 2 adiciones y 6 borrados
  1. 2 6
      installJRMC

+ 2 - 6
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