aboutsummaryrefslogtreecommitdiff
path: root/mp
diff options
context:
space:
mode:
authorJoe Ludwig <[email protected]>2013-12-02 17:17:55 -0800
committerJoe Ludwig <[email protected]>2013-12-02 17:17:55 -0800
commit26886813526ce8abfb206c534f75e9177a39a1f3 (patch)
tree3447497d2d978b84eb76908368e4a26100d4e5bd /mp
parentAdded missing libs for linux and OSX in their new location. (diff)
parentMake create*projects scripts work independently of cwd (diff)
downloadsource-sdk-2013-26886813526ce8abfb206c534f75e9177a39a1f3.tar.xz
source-sdk-2013-26886813526ce8abfb206c534f75e9177a39a1f3.zip
Merge pull request #196 from jstasiak/callvpc
Make create*projects scripts work independently of current directory
Diffstat (limited to 'mp')
-rwxr-xr-xmp/src/createallprojects3
-rwxr-xr-xmp/src/creategameprojects3
2 files changed, 4 insertions, 2 deletions
diff --git a/mp/src/createallprojects b/mp/src/createallprojects
index 4f44d066..9f855f11 100755
--- a/mp/src/createallprojects
+++ b/mp/src/createallprojects
@@ -1,4 +1,5 @@
#!/bin/bash
+pushd `dirname $0`
devtools/bin/vpc /hl2mp +everything /mksln everything
-
+popd
diff --git a/mp/src/creategameprojects b/mp/src/creategameprojects
index 0fa9b4ed..1308ef12 100755
--- a/mp/src/creategameprojects
+++ b/mp/src/creategameprojects
@@ -1,4 +1,5 @@
#!/bin/bash
+pushd `dirname $0`
devtools/bin/vpc /hl2mp +game /mksln games
-
+popd