diff options
Diffstat (limited to 'mp/src/devtools/bin/vpc')
| -rw-r--r-- | mp/src/devtools/bin/vpc | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/mp/src/devtools/bin/vpc b/mp/src/devtools/bin/vpc new file mode 100644 index 00000000..2992aed4 --- /dev/null +++ b/mp/src/devtools/bin/vpc @@ -0,0 +1,28 @@ +#!/bin/bash
+
+OS=`uname`
+SCRIPTPATH=`dirname $0`
+FORCEARG=""
+
+case $OS in
+"Darwin")
+ BINNAME=vpc_osx
+ ;;
+"Linux")
+ BINNAME=vpc_linux
+ ;;
+*)
+ echo "Couldn't find appropriate VPC binary, fix the script."
+ exit -1
+ ;;
+esac
+
+
+if [ $OS == "Darwin" ]; then
+ $SCRIPTPATH/$BINNAME $@
+elif [ $OS == "Linux" ]; then
+ $SCRIPTPATH/$BINNAME $@
+else
+ echo "Couldn't find appropriate VPC binary, fix the script."
+ exit -1
+fi
|