aboutsummaryrefslogtreecommitdiff
path: root/sp/src/devtools/bin/vpc
blob: 3874f82ca773a66363fb60e66fff1a9556b4ca22 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
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