mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2025-11-29 17:38:24 +08:00
Now db_assembler also creates the users specified in conf.sh files if not exists + Simplified some paths for compilation
11 lines
322 B
Bash
11 lines
322 B
Bash
# you can choose build type from cmd argument
|
|
if [ ! -z $1 ]
|
|
then
|
|
CCTYPE=$1
|
|
CCTYPE=${CCTYPE^} # capitalize first letter if it's not yet
|
|
fi
|
|
|
|
[ $CTYPE == "Debug" ] && BUILDPATH="$BUILDPATH/debug/" || BUILDPATH="$BUILDPATH/release/"
|
|
|
|
[ $CTYPE == "Debug" ] && BINPATH="$BINPATH/debug/" || BINPATH="$BINPATH/release/"
|