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

Fix fatal: not a git repository (or any of the parent directories): .git

Apparently the cwd is changed back after ever command is invoked.
parent 46e0bbe1
No related branches found
No related tags found
1 merge request!463MRC mods by Codefenix (2024-10-20)
......@@ -247,10 +247,9 @@ $(REPODIR):
git clone https://gitlab.com/SynchronetBBS/sbbs.git $(REPODIR) \
|| git clone https://github.com/SynchronetBBS/sbbs.git $(REPODIR) \
|| git clone https://gitlab.synchro.net/main/sbbs.git $(REPODIR)
cd $(REPODIR)
git 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
git checkout tags/$(TAG)
cd $(REPODIR); git checkout tags/$(TAG)
endif
src: $(REPODIR)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment