From bd9d3e6908ccfa98c5fe48a90c9f73cea4641990 Mon Sep 17 00:00:00 2001 From: Jakub Stasiak Date: Sat, 28 Sep 2013 18:00:23 +0100 Subject: [PATCH] Make create*projects scripts work independently of cwd --- mp/src/createallprojects | 3 ++- mp/src/creategameprojects | 3 ++- sp/src/createallprojects | 3 ++- sp/src/creategameprojects | 3 ++- 4 files changed, 8 insertions(+), 4 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 diff --git a/sp/src/createallprojects b/sp/src/createallprojects index 4677ca79..ea9c32ea 100755 --- a/sp/src/createallprojects +++ b/sp/src/createallprojects @@ -1,4 +1,5 @@ #!/bin/bash +pushd `dirname $0` devtools/bin/vpc /hl2 /episodic +everything /mksln everything - +popd diff --git a/sp/src/creategameprojects b/sp/src/creategameprojects index ae1d12cc..9865cec3 100755 --- a/sp/src/creategameprojects +++ b/sp/src/creategameprojects @@ -1,4 +1,5 @@ #!/bin/bash +pushd `dirname $0` devtools/bin/vpc /hl2 /episodic +game /mksln games - +popd