#!/bin/bash clone () { URL=git@github.com: PROFIL_NAME=nidionis DEFAULT_ADDR="" if [ $# -ne "1" ]; then PROFIL_NAME="$1"; PROJECT_NAME="$2"; git clone --recurse-submodules $URL/$PROFIL_NAME/$PROJECT_NAME.git; else PROFIL_NAME=painpain PROJECT_NAME="$1"; git clone --recurse-submodules $URL/$PROFIL_NAME/$PROJECT_NAME.git; fi git clone --recurse-submodules $URL/$PROFIL_NAME/$PROJECT_NAME.git; } clone "$@"