1
0
mirror of https://github.com/alliedmodders/hl2sdk.git synced 2024-12-22 17:47:38 +08:00
hl2sdk/devtools/bin/vpc
Jørgen P. Tjernø 6ece5546d6 Normalize line endings
Fixes issue #75.
2013-07-05 12:09:48 -07:00

29 lines
409 B
Bash
Executable File

#!/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