summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSylvestre Ledru <sylvestre.ledru@scilab.org>2011-05-06 11:48:46 +0200
committerSylvestre Ledru <sylvestre.ledru@scilab.org>2011-05-06 11:52:10 +0200
commitdfe72a1af7b636df5c0ff4a69f23093796c21737 (patch)
treef4d67128b80e45ae60568da7c1516912f09c6423
parentb57bafc8e089d7be0aa4c99a5da64328580781e2 (diff)
downloadscilab-dfe72a1af7b636df5c0ff4a69f23093796c21737.zip
scilab-dfe72a1af7b636df5c0ff4a69f23093796c21737.tar.gz
Fix bug #9359: Do not perform the mac os x version when Scilab is started != GUI mode
Change-Id: Ifea57114ee6eea94fe82f5ac32c88ae3b50c1351
-rwxr-xr-xscilab/bin/scilab5
1 files changed, 4 insertions, 1 deletions
diff --git a/scilab/bin/scilab b/scilab/bin/scilab
index 4df07fa..e3335bb 100755
--- a/scilab/bin/scilab
+++ b/scilab/bin/scilab
@@ -647,7 +647,10 @@ case $OS in
647 # Now, check that I can run Scilab on this version of Mac OS X and 647 # Now, check that I can run Scilab on this version of Mac OS X and
648 # display a standard window 648 # display a standard window
649 BINPATH=$(dirname $0) 649 BINPATH=$(dirname $0)
650 osascript $BINPATH/checkmacosx.applescript || exit 128 650 # Do not perform the check with Scilab is started in CLI mode
651 if test "$SCILAB_MODE" = "gui"; then
652 osascript $BINPATH/checkmacosx.applescript || exit 128
653 fi
651 ;; 654 ;;
652 *) 655 *)
653esac 656esac