From c3f4dce5c6918ad11a82c09da3e3c4082f60982b Mon Sep 17 00:00:00 2001
From: "Rob Swindell (on Debian Linux)" <rob@synchro.net>
Date: Sun, 26 Feb 2023 12:18:18 -0800
Subject: [PATCH] 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
---
 install/GNUmakefile | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/install/GNUmakefile b/install/GNUmakefile
index b3284bdf3c..2e1c3e49ad 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)
-- 
GitLab