updated dproj to use new_module script on vps
authorMatthew Owens <matthew@owens.tech>
Wed, 5 Aug 2020 11:57:23 +0000 (12:57 +0100)
committerMatthew Owens <matthew@owens.tech>
Wed, 5 Aug 2020 11:57:23 +0000 (12:57 +0100)
dproj

diff --git a/dproj b/dproj
index bf77baf..f02f034 100755 (executable)
--- a/dproj
+++ b/dproj
@@ -13,9 +13,7 @@ if [ -z $projExists ]; then
        notify-send 'cecse' "creating $proj module, please wait..."
        ./scripts/new_module $proj
        notify-send 'cecse' "adding owens.tech remotes..."
-       ssh git@owens.tech "mkdir cecse/$proj.git cecse/test-$proj.git;\ 
-               cd $proj.git; git init --bare; cd ../$test-proj.git;\ 
-               git init --bare"
+       ssh git@owens.tech "new_module $proj cecse"
        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