win32: build.sh: fix conditional bootstrap launch

Signed-off-by: Hugo Beauzée-Luyssen <hugo@beauzee.fr>
This commit is contained in:
Simon Latapie 2018-05-02 08:38:05 +02:00 committed by Hugo Beauzée-Luyssen
parent b2c32f8469
commit 84985e5e79
1 changed files with 2 additions and 2 deletions

View File

@ -92,8 +92,8 @@ TRIPLET=$ARCH-w64-mingw32
info "Building extra tools"
cd extras/tools
# bootstrap only if needed in interactive mode
if [ "$INTERACTIVE" != "yes" || ! -f ./Makefile ]; then
./bootstrap
if [ "$INTERACTIVE" != "yes" ] || [ ! -f ./Makefile ]; then
./bootstrap
fi
make -j$JOBS
export PATH=$PWD/build/bin:$PATH