fixed incorrect cd
authorMatthew Owens <matthew@owens.tech>
Thu, 6 Aug 2020 19:56:10 +0000 (20:56 +0100)
committerMatthew Owens <matthew@owens.tech>
Thu, 6 Aug 2020 19:56:10 +0000 (20:56 +0100)
dproj

diff --git a/dproj b/dproj
index 95fc979..2ed7aae 100755 (executable)
--- 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)