From 308bafc088f6a6b0f0aa67c047ef0edfe63efbfa Mon Sep 17 00:00:00 2001
From: Matthew Owens <matthew@owens.tech>
Date: Thu, 6 Aug 2020 20:56:10 +0100
Subject: [PATCH] fixed incorrect cd

---
 dproj | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)

diff --git a/dproj b/dproj
index 95fc979..2ed7aae 100755
--- a/dproj
+++ b/dproj
@@ -17,10 +17,9 @@ if [ -z $projExists ]; then
 	cd $proj
 	git remote set-url --add --push origin git@github.com:cecse/$proj.git
 	git remote set-url --add --push origin git@owens.tech:cecse/$proj.git
-	cd ../test-$proj
-	git remote set-url --add --push origin git@github.com:cecse/$proj.git
-	git remote set-url --add --push origin git@owens.tech:cecse/$proj.git
-	cd ..
+	cd test-$proj
+	git remote set-url --add --push origin git@github.com:cecse/test-$proj.git
+	git remote set-url --add --push origin git@owens.tech:cecse/test-$proj.git
 fi
 
 (tmux has-session -t $proj)
-- 
2.20.1