aboutsummaryrefslogtreecommitdiff
path: root/sp/src/devtools/bin/vpc
diff options
context:
space:
mode:
authorJoe Ludwig <[email protected]>2013-07-04 11:20:31 -0700
committerJoe Ludwig <[email protected]>2013-07-04 11:20:31 -0700
commit77b376f8a0d8d172c51729762f80bb394534aa41 (patch)
tree79897a015745704f7202eaa6648c18f2e5312df4 /sp/src/devtools/bin/vpc
parentAdding a CONTRIBUTING file so the rights that GitHub users grant to Valve wit... (diff)
downloadsource-sdk-2013-77b376f8a0d8d172c51729762f80bb394534aa41.tar.xz
source-sdk-2013-77b376f8a0d8d172c51729762f80bb394534aa41.zip
* Switched the SDK from checked-in projects to VPC, the Valve Project Creator. See the Getting Started document on the wiki for details.
* Pulled in bug fixes from HL2 and HL2MP.
Diffstat (limited to 'sp/src/devtools/bin/vpc')
-rw-r--r--sp/src/devtools/bin/vpc28
1 files changed, 28 insertions, 0 deletions
diff --git a/sp/src/devtools/bin/vpc b/sp/src/devtools/bin/vpc
new file mode 100644
index 00000000..2992aed4
--- /dev/null
+++ b/sp/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