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
This commit is contained in:
Yehonal
2017-09-26 12:53:46 +02:00
parent c85b1b591e
commit eb78254579
4 changed files with 14 additions and 11 deletions
+2 -6
View File
@@ -5,10 +5,6 @@ then
CCTYPE=${CCTYPE^} # capitalize first letter if it's not yet
fi
BUILDPATH=$BINPATH
[ $CTYPE == "Debug" ] && BUILDPATH="$BUILDPATH/debug/" || BUILDPATH="$BUILDPATH/release/"
INSTALL_PATH=$(readlink -f "$BINPATH/../")
[ $CTYPE == "Debug" ] && BUILDPATH="$BUILDPATH/debug/build/" || BUILDPATH="$BUILDPATH/release/build/"
[ $CTYPE == "Debug" ] && BINPATH="$BINPATH/debug" || BINPATH="$BINPATH/release"
[ $CTYPE == "Debug" ] && BINPATH="$BINPATH/debug/" || BINPATH="$BINPATH/release/"