Skip to content
Snippets Groups Projects
Commit c3f4dce5 authored by Rob Swindell's avatar Rob Swindell :speech_balloon:
Browse files

Don't use 'git -C' since apparently older versions of git don't have it

<nelgin> git -C /home/bbs/sbbs/repo remote set-url origin https://gitlab.synchro.net/main/sbbs.git
<nelgin> Unknown option: -C
<nelgin> using GNUMakefile on CentOS 7

This partially reverts commit 34909899
parent 68c33d29
No related branches found
No related tags found
1 merge request!463MRC mods by Codefenix (2024-10-20)
...@@ -247,9 +247,10 @@ $(REPODIR): ...@@ -247,9 +247,10 @@ $(REPODIR):
git clone https://gitlab.com/SynchronetBBS/sbbs.git $(REPODIR) \ git clone https://gitlab.com/SynchronetBBS/sbbs.git $(REPODIR) \
|| git clone https://github.com/SynchronetBBS/sbbs.git $(REPODIR) \ || git clone https://github.com/SynchronetBBS/sbbs.git $(REPODIR) \
|| git clone https://gitlab.synchro.net/main/sbbs.git $(REPODIR) || git clone https://gitlab.synchro.net/main/sbbs.git $(REPODIR)
git -C $(REPODIR) remote set-url origin https://gitlab.synchro.net/main/sbbs.git cd $(REPODIR)
git remote set-url origin https://gitlab.synchro.net/main/sbbs.git
ifdef TAG ifdef TAG
git -C $(REPODIR) checkout tags/$(TAG) git checkout tags/$(TAG)
endif endif
src: $(REPODIR) src: $(REPODIR)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment