diff --git a/install/GNUmakefile b/install/GNUmakefile
index b3284bdf3ca1c0a529b871b3b8b283ce537a9d66..2e1c3e49adad6d214e35f5c34eee14e82165774c 100644
--- a/install/GNUmakefile
+++ b/install/GNUmakefile
@@ -247,9 +247,10 @@ $(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)
-	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
-	git -C $(REPODIR) checkout tags/$(TAG)
+	git checkout tags/$(TAG)
 endif
 
 src: $(REPODIR)