This commit is contained in:
archikid02
2026-01-29 19:22:21 +00:00
parent 78fd3d03c2
commit 0bd03bba1d
+3 -2
View File
@@ -2,13 +2,14 @@
clone () clone ()
{ {
DEFAULT_ADDR="" DEFAULT_ADDR=""
BASE="ssh://git@6.tcp.eu.ngrok.io:11272"
if [ $# -ne "1" ]; then if [ $# -ne "1" ]; then
PROFIL_NAME="$1"; PROFIL_NAME="$1";
PROJECT_NAME="$2"; PROJECT_NAME="$2";
git clone --recurse-submodules ssh://git@0.tcp.eu.ngrok.io:18869/$PROFIL_NAME/$PROJECT_NAME.git;
else else
PROFIL_NAME="painpain";
PROJECT_NAME="$1"; PROJECT_NAME="$1";
git clone --recurse-submodules ssh://git@0.tcp.eu.ngrok.io:18869/painpain/$PROJECT_NAME.git;
fi fi
git clone --recurse-submodules ${BASE}/$PROFIL_NAME/$PROJECT_NAME.git;
} }
clone "$@" clone "$@"