From: Matthew Owens Date: Wed, 5 Aug 2020 11:57:23 +0000 (+0100) Subject: updated dproj to use new_module script on vps X-Git-Url: https://git.owens.tech///git?a=commitdiff_plain;h=6ce741e4cf15cc507c8cc22f8adf19898d533958;p=scripts.git updated dproj to use new_module script on vps --- diff --git a/dproj b/dproj index bf77baf..f02f034 100755 --- 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