OSX build - ignore order of options (and fix indent on the way)
authorRobin Gareus <robin@gareus.org>
Mon, 15 Feb 2016 23:05:26 +0000 (00:05 +0100)
committerRobin Gareus <robin@gareus.org>
Mon, 15 Feb 2016 23:52:50 +0000 (00:52 +0100)
We call the script with "--nls --public" and not "--public --nls"
--public did unset "WITH_NLS"

tools/osx_packaging/osx_build

index 5e4a1a6a636d83f0f74642dcb2830b7691535bdd..f7226bc33202a0b57123bccc2a6176bf3c74a22d 100755 (executable)
@@ -32,35 +32,34 @@ while [ $# -gt 0 ] ; do
        # top level build targets
        #
 
-       --sae) WITH_NLS= ; 
-               SAE=1 ; 
-              WITH_LADSPA=1; 
-               STRIP= ; 
-              PRODUCT_PKG_DIR=ArdourSAE ; 
-              APPNAME=Ardour ;
-              shift ;;
-       --mixbus) MIXBUS=1; 
-                 WITH_HARRISON_LV2=1 ;
-                 WITH_X42_LV2=1 ;
-                 WITH_NLS=1 ; 
-                  SAE= ; 
-                  WITH_LADSPA=; 
-                  STRIP= ; 
-                 PRODUCT_PKG_DIR=Mixbus;
-                 APPNAME=Mixbus ;
-                  shift ;;
-       --public) WITH_NLS= ; 
-                 SAE= ; 
-                  WITH_LADSPA=1; 
-                 PRODUCT_PKG_DIR=Ardour;
-                 APPNAME=Ardour ;
-                 shift ;;
-       --allinone) SAE= ; 
-                   WITH_NLS= ; 
-                   WITH_LADSPA=1; 
-                   STRIP= ; 
-                   PRODUCT_PKG_DIR=Ardour ;
-                   shift ;;
+       --sae)
+               SAE=1 ;
+               WITH_LADSPA=1;
+               STRIP= ;
+               PRODUCT_PKG_DIR=ArdourSAE ;
+               APPNAME=Ardour ;
+               shift ;;
+       --mixbus) MIXBUS=1;
+               WITH_HARRISON_LV2=1 ;
+               WITH_X42_LV2=1 ;
+               WITH_NLS=1 ;
+               SAE= ;
+               WITH_LADSPA=;
+               STRIP= ;
+               PRODUCT_PKG_DIR=Mixbus;
+               APPNAME=Mixbus ;
+               shift ;;
+       --public)
+               SAE= ;
+               WITH_LADSPA=1;
+               PRODUCT_PKG_DIR=Ardour;
+               APPNAME=Ardour ;
+               shift ;;
+       --allinone) SAE= ;
+               WITH_LADSPA=1;
+               STRIP= ;
+               PRODUCT_PKG_DIR=Ardour ;
+               shift ;;
        --test) SAE= ; WITH_LADSPA=; STRIP= ; shift ;;
 
        #