From 8d7446d8974d7bcb40a5ea1c603d8f3816f941b9 Mon Sep 17 00:00:00 2001 From: David Carlier Date: Sun, 24 Jul 2016 07:04:39 +0100 Subject: [PATCH 1/1] bring back correct version --- misc/tools/all/git.subr | 4 ++++ 1 file changed, 4 insertions(+) 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" -- 2.39.2