From: David Carlier Date: Sun, 24 Jul 2016 06:04:39 +0000 (+0100) Subject: bring back correct version X-Git-Tag: xonotic-v0.8.2~17^2 X-Git-Url: https://git.xonotic.org/?p=xonotic%2Fxonotic.git;a=commitdiff_plain;h=8d7446d8974d7bcb40a5ea1c603d8f3816f941b9;hp=022da22429cb6df5ba493050179edae0a8ff469e bring back correct version --- diff --git a/misc/tools/all/git.subr b/misc/tools/all/git.subr index 33054119..b14a8b6f 100644 --- a/misc/tools/all/git.subr +++ b/misc/tools/all/git.subr @@ -19,6 +19,10 @@ initrepo() base= pushbase= allrepos initrepo_ "`git config remote.origin.url`" "`git config remote.origin.pushurl`" + if [ -z "$base" ]; then + msg "The main repo is not xonotic.git, what have you done?" + exit 1 + fi msg "Found main repo = $base" if [ -n "$pushbase" ]; then msg "Found push repo = $pushbase"