Skip to content
Snippets Groups Projects
Commit 2fb54ec6 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 7f3a164a
Branches
Tags
No related merge requests found
......@@ -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.
Please register or to comment