summaryrefslogtreecommitdiff
path: root/install.sh
blob: 36e2f97bb8d9dda47681a336a74bc1126ec27180 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/bash

CUR_PATH="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
PATH_MODULES="$CUR_PATH/modules/"
[ ! -d $PATH_MODULES/udw/joiner ] && git clone https://github.com/udw/joiner $PATH_MODULES/udw/joiner -b master
source "$PATH_MODULES/udw/joiner/joiner.sh"



if [[ $1 == "dev" ]]; then
    git submodule update --init "$CUR_PATH/data/doc"
fi