Files
azerothcore-wotlk-pbot/bin/compiler/includes/defines.sh
Yehonal eb78254579 Bash: Various improvement for compiler and db_assembler
Now db_assembler also creates the users specified in conf.sh files if not exists

+ Simplified some paths for compilation
2017-09-26 12:53:46 +02:00

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/"