Commit 7f040ef3 authored by Rob Swindell's avatar Rob Swindell 💬
Browse files

Try cloning from the github and gitlab mirrors first

Might as well use their bandwidth before my own.
parent 53da8d4a
Pipeline #23 passed with stage
in 9 minutes and 56 seconds
......@@ -243,7 +243,10 @@ endif
-chown -h $(SBBSCHOWN) $(SBBSDIR)/exec/*
$(WORKDIR):
git clone https://gitlab.synchro.net/sbbs/sbbs.git $(WORKDIR)
git clone https://gitlab.com/synchronet/sbbs.git $(WORKDIR) \
|| git clone https://github.com/rswindell/sbbs.git $(WORKDIR) \
|| git clone https://gitlab.synchro.net/sbbs/sbbs.git $(WORKDIR)
git remote set-url origin https://gitlab.synchro.net/sbbs/sbbs.git
ifdef TAG
git -C $(WORKDIR) checkout tags/$(TAG)
endif
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment