Allow scilab to start under OSX Mojave (10.14) 93/20793/3
Paul Bignier [Sat, 29 Sep 2018 08:55:05 +0000 (10:55 +0200)]
Change-Id: I4ec8400d635da39e2a091aa1e3c15fb4f0baca01

scilab/bin/scilab

index 077d437..cd00b7e 100755 (executable)
@@ -746,6 +746,8 @@ set_macox_specific_path()
     case $macosxMajorVersion in
         10)
             case $macosxMinorVersion in
+                14)
+                    ;;
                 13)
                     # Specific libBLAS.dylib & libz versions for 10.13
                     LD_LIBRARY_PATH=$PATH_TO_SPECIFIC_10_13${LD_LIBRARY_PATH+:$LD_LIBRARY_PATH}
@@ -804,8 +806,8 @@ check_macosx_version()
                    # We force to install JRE on Mavericks
                    /usr/libexec/java_home --request > /dev/null
                    ;;
-                10|11|12|13)
-                   # ... but not on Yosemite, El Capitan, Sierra or High Sierra:
+                10|11|12|13|14)
+                   # ... but not on Yosemite, El Capitan, Sierra, High Sierra or Mojave:
                    # there will be a (better) error at launch
                    ;;
                 8)