Line 4:
Line 4:
#!/bin/bash
#!/bin/bash
# $1 = Module name e.g. smeserver-ddclient
# $1 = Module name e.g. smeserver-ddclient
−
# $2 = "contrib" ot anything else -=> core module
+
# $2 = "contrib" ...anything else -=> core module
LocalUser="brianr"
LocalUser="brianr"
RemoteUser="brianr"
RemoteUser="brianr"
Line 50:
Line 50:
#Get Clone the common directory
#Get Clone the common directory
git clone https://src.koozali.org/brianr/common.git
git clone https://src.koozali.org/brianr/common.git
+
# and delete the .git else it pushes back a link to the repo
+
cd common
+
rm -fr ".git"
+
cd ..
#stage and commit them
#stage and commit them
Line 63:
Line 67:
echo "Created $1 Repo in $RemoteRepoURL"
echo "Created $1 Repo in $RemoteRepoURL"
exit 0
exit 0
+
+
+
</syntaxhighlight>Issues:
</syntaxhighlight>Issues: