From a265cb5908f7243f9b623d89b1341aa88e6902b9 Mon Sep 17 00:00:00 2001 From: Claudio Valerio Date: Mon, 29 Jul 2013 15:23:19 +0200 Subject: [PATCH] added a check for importer exe --- release.win7.vc9.bat | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/release.win7.vc9.bat b/release.win7.vc9.bat index 22d2fea4..cfa52588 100644 --- a/release.win7.vc9.bat +++ b/release.win7.vc9.bat @@ -37,7 +37,7 @@ call "%VS_BIN%\vcvars32.bat" echo %PATH% REM Third party impoter application -set IMPORTER_NAME="OpenBoardImporter" +set IMPORTER_NAME=OpenBoardImporter set IMPORTER_PATH="%cd%\..\OpenSankoreToOpenBoard" IF NOT EXIST "%IMPORTER_PATH%" GOTO EXIT_WITH_ERROR @@ -48,8 +48,9 @@ IF EXIST "debug" (del "debug\*.*" /Q) IF EXIST "MakeFile" (del "MakeFile*" /Q) IF EXIST "MakeFile" (del "MakeFile*" /Q) IF EXIST "%IMPORTER_NAME%.exe" (del "%IMPORTER_NAME%.exe" /Q) -"%QT_BIN%\qmake.exe" %IMPORTER_NAME%.pro +"%QT_BIN%\qmake.exe" %IMPORTER_NAME%.pro" nmake release +IF NOT EXIST release\"%IMPORTER_NAME%.exe" GOTO EXIT_WITH_ERROR cd %HOME_DIR% REM this checks if the custom qt directory path