diff options
Diffstat (limited to 'mp/src/devtools/bin/vpc')
| -rwxr-xr-x | 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 100755 index 00000000..3874f82c --- /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 |