Files
azerothcore-wotlk-pbot/install.sh
2016-08-26 16:23:25 +02:00

12 lines
357 B
Bash
Executable File

#!/usr/bin/env bash
CUR_PATH="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
PATH_MODULES="$CUR_PATH/modules/"
[ ! -d $PATH_MODULES/uwd/joiner ] && git clone https://github.com/uwd/joiner $PATH_MODULES/uwd/joiner -b master
source "$PATH_MODULES/uwd/joiner/joiner.sh"
if [[ $1 == "dev" ]]; then
git submodule update --init "$CUR_PATH/data/doc"
fi