build: fixed string comparsion

This commit is contained in:
Ilya Kitaev 2016-10-19 15:42:26 +03:00
parent d35a185079
commit d7e03f9cde

View File

@ -17,7 +17,7 @@ fi
if [ ! -d build ]; then mkdir build; fi if [ ! -d build ]; then mkdir build; fi
if [ $BUILD_TYPE == "Release" ]; then if [ "$BUILD_TYPE" == "Release" ]; then
CONFIG="CONFIG+=release"; CONFIG="CONFIG+=release";
else else
CONFIG="CONFIG+=debug" CONFIG="CONFIG+=debug"
@ -35,6 +35,6 @@ fi
cd build cd build
qmake ../monero-core.pro "$CONFIG" qmake ../monero-core.pro "$CONFIG"
make make
make deploy # make deploy
popd popd