diff options
-rw-r--r-- | README | 2 | ||||
-rwxr-xr-x | init.sh | 10 |
2 files changed, 3 insertions, 9 deletions
@@ -1,7 +1,5 @@ This repository used for unite all other evol online repositories. -Before using it, need create own public key, register in https://gitlab.com/ and add own key to gitlab account. - Each directory here mean some other repository. Also in this repository located scripts for mass work with all other repositories. More info look here: http://wiki.evolonline.org/guidelines/firstdevstep @@ -1,24 +1,22 @@ #!/usr/bin/env bash export LANG=C -export GROUP=TMW2 -export ALTER=evol +export GROUP=ml CMD="$1" -PROTO="git@gitlab.com:" +PROTO="https://git.themanaworld.org/" if [[ -z "${CMD}" ]]; then export CMD="default" fi STR=$(git remote -v|grep "https://") if [[ -n "${STR}" ]]; then - export PROTO="https://gitlab.com/" + export PROTO="https://git.themanaworld.org/" 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 @@ -27,7 +25,6 @@ if [[ "${CMD}" == "all" || "${CMD}" == "default" ]]; then ${CLONE1}/evol-tools.git tools ${CLONE1}/evol-hercules.git server-code/src/evol cd server-code/src/evol ; git checkout tmw2 ; cd ../../.. - ${CLONEA}/evol-local.git server-local # Do this even serve any purpose? ${CLONE1}/Docs.git docs ${CLONE1}/Docs.wiki.git wiki ln -s server-code/src/evol server-plugin @@ -44,7 +41,6 @@ elif [[ "${CMD}" == "client" ]]; then elif [[ "${CMD}" == "music" ]]; then ${CLONE1}/evol-music.git music elif [[ "${CMD}" == "local" ]]; then - ${CLONEA}/evol-local.git server-local ${CLONE1}/hercules.git server-code ${CLONE1}/serverdata.git server-data ${CLONE1}/evol-hercules.git server-code/src/evol |