diff options
author | jesusalva <cpntb1@ymail.com> | 2018-02-08 20:24:20 -0200 |
---|---|---|
committer | jesusalva <cpntb1@ymail.com> | 2018-02-08 20:24:20 -0200 |
commit | e6f9af06293804526432db1aa3cda3c52ebae3af (patch) | |
tree | 217fe7309a108cc4c27250325dbf68b9c55b083a /init.sh | |
parent | 60df0684f0f9cf7fdd496dc30acdce4f68e2df1a (diff) | |
download | all-e6f9af06293804526432db1aa3cda3c52ebae3af.tar.gz all-e6f9af06293804526432db1aa3cda3c52ebae3af.tar.bz2 all-e6f9af06293804526432db1aa3cda3c52ebae3af.tar.xz all-e6f9af06293804526432db1aa3cda3c52ebae3af.zip |
Update init.sh to take in account we don't have all repos.
Diffstat (limited to 'init.sh')
-rwxr-xr-x | init.sh | 18 |
1 files changed, 10 insertions, 8 deletions
@@ -2,6 +2,7 @@ export LANG=C export GROUP=TMW2 +export ALTER=evol CMD="$1" PROTO="git@gitlab.com:" @@ -17,20 +18,21 @@ fi CLONECMD="git clone --origin upstream" CLONE1="${CLONECMD} ${PROTO}${GROUP}" CLONE2="${CLONECMD} ${PROTO}" +CLONEA="${CLONECMD} ${PROTO}${ALTER}" if [[ "${CMD}" == "all" || "${CMD}" == "default" ]]; then ${CLONE1}/clientdata.git client-data - ${CLONE1}/hercules.git server-code + ${CLONEA}/hercules.git server-code ${CLONE1}/serverdata.git server-data ${CLONE1}/evol-tools.git tools - ${CLONE1}/evol-hercules.git server-code/src/evol - ${CLONE1}/evol-local.git server-local + ${CLONEA}/evol-hercules.git server-code/src/evol + ${CLONEA}/evol-local.git server-local # Do this even serves any purpose? ${CLONE1}/Docs.git docs ln -s server-code/src/evol server-plugin elif [[ "${CMD}" == "server" ]]; then - ${CLONE1}/hercules.git server-code + ${CLONEA}/hercules.git server-code ${CLONE1}/serverdata.git server-data - ${CLONE1}/evol-hercules.git server-code/src/evol + ${CLONEA}/evol-hercules.git server-code/src/evol ${CLONE1}/evol-tools.git tools ln -s server-code/src/evol server-plugin elif [[ "${CMD}" == "client" ]]; then @@ -39,10 +41,10 @@ elif [[ "${CMD}" == "client" ]]; then elif [[ "${CMD}" == "music" ]]; then ${CLONE1}/evol-music.git music elif [[ "${CMD}" == "local" ]]; then - ${CLONE1}/evol-local.git server-local - ${CLONE1}/hercules.git server-code + ${CLONEA}/evol-local.git server-local + ${CLONEA}/hercules.git server-code ${CLONE1}/serverdata.git server-data - ${CLONE1}/evol-hercules.git server-code/src/evol + ${CLONEA}/evol-hercules.git server-code/src/evol ${CLONE1}/evol-tools.git tools ln -s server-code/src/evol server-plugin elif [[ "${CMD}" == "tools" ]]; then |