X-Git-Url: http://git.xonotic.org/?p=xonotic%2Fxonotic.git;a=blobdiff_plain;f=all;h=6011b54e52ee9f13782f10816c98b2c36088ff08;hp=8b6aa4d8823ebc54d1c5e020dc8a738c3de724f7;hb=db1393bf338eafd04c38ed4f94769da4821e8ecf;hpb=a0f692b0ce28c3d7b8a130e99d48d4a09135d208 diff --git a/all b/all index 8b6aa4d8..6011b54e 100755 --- a/all +++ b/all @@ -51,6 +51,12 @@ fi cmd=$1 shift +case "$0" in + */*) + cd "${0%/*}" + ;; +esac + d0=`pwd` case "$cmd" in update|pull)