From: Rudolf Polzer Date: Mon, 10 May 2010 06:39:45 +0000 (+0200) Subject: work around the bug Chryyz got X-Git-Tag: xonotic-v0.1.0preview~462 X-Git-Url: http://git.xonotic.org/?p=xonotic%2Fxonotic.git;a=commitdiff_plain;h=84d30a1eb1e7e8473357c16a46bc666a9cca1f73;hp=c45ae112171b753dc913aa3fb78678f080d980c7 work around the bug Chryyz got --- diff --git a/all b/all index 349dae1d..a5c458c9 100755 --- a/all +++ b/all @@ -134,7 +134,15 @@ netradiant | repos=`echo "$repos_urls" | grep . | cut -d '|' -f 1 | tr -d ' '` base=`git config remote.origin.url` -base=${base%xonotic.git} +case "$base" in + */xonotic.git) + base=${base%xonotic.git} + ;; + *) + echo "The main repo is not xonotic.git, what have you done?" + exit 1 + ;; +esac repourl() {