mirror of
https://gitlab.com/xonotic/xonotic
synced 2025-01-18 20:21:18 +00:00
work around the bug Chryyz got
This commit is contained in:
parent
c45ae11217
commit
84d30a1eb1
10
all
10
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()
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user