diff options
| author | Joe Ludwig <[email protected]> | 2013-07-05 12:50:52 -0700 |
|---|---|---|
| committer | Joe Ludwig <[email protected]> | 2013-07-05 12:50:52 -0700 |
| commit | a2e9dbd663a78750a7950aa61bf0b636b15eeda2 (patch) | |
| tree | a131714927f9402b9d490187631532246f2a076d /mp/src/devtools/bin | |
| parent | Added some more files to .gitignore. Added technical guidelines for pull requ... (diff) | |
| parent | Normalize line endings (diff) | |
| download | source-sdk-2013-a2e9dbd663a78750a7950aa61bf0b636b15eeda2.tar.xz source-sdk-2013-a2e9dbd663a78750a7950aa61bf0b636b15eeda2.zip | |
Merge https://github.com/ValveSoftware/source-sdk-2013
Diffstat (limited to 'mp/src/devtools/bin')
| -rwxr-xr-x | mp/src/devtools/bin/vpc | 56 |
1 files changed, 28 insertions, 28 deletions
diff --git a/mp/src/devtools/bin/vpc b/mp/src/devtools/bin/vpc index 2992aed4..3874f82c 100755 --- a/mp/src/devtools/bin/vpc +++ b/mp/src/devtools/bin/vpc @@ -1,28 +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
+#!/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 |