]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/b
Allow for Cmd-click on wxMac
[wxWidgets.git] / wxPython / b
index 5c97518e564efeeaa0eab49bf6440bbdecde8ed7..ffbfea4b233704c2ba659caa9273b8f671695259 100755 (executable)
@@ -1,4 +1,11 @@
-#!/bin/sh
+#!/bin/bash
+
+# Are we using bash on win32?  If so source that file and then exit.
+if [ "$OSTYPE" = "cygwin" ]; then
+    source b.win32
+    exit
+fi
+
 
 function getpyver {
     if [ "$1" = "15" ]; then
 
 function getpyver {
     if [ "$1" = "15" ]; then
@@ -126,10 +133,12 @@ fi
 
 echo $CMD
 eval $CMD
 
 echo $CMD
 eval $CMD
+RC=$?
 
 
-
-if [ "$OTHERCMD" != "" ]; then
+if [ "$RC" = "0" -a  "$OTHERCMD" != "" ]; then
     echo $OTHERCMD
     $OTHERCMD
     echo $OTHERCMD
     $OTHERCMD
+    RC=$?
 fi
 
 fi
 
+exit $RC