added a check for importer exe

preferencesAboutTextFull
Claudio Valerio 11 years ago
parent 0379f4394d
commit a265cb5908
  1. 5
      release.win7.vc9.bat

@ -37,7 +37,7 @@ call "%VS_BIN%\vcvars32.bat"
echo %PATH% echo %PATH%
REM Third party impoter application REM Third party impoter application
set IMPORTER_NAME="OpenBoardImporter" set IMPORTER_NAME=OpenBoardImporter
set IMPORTER_PATH="%cd%\..\OpenSankoreToOpenBoard" set IMPORTER_PATH="%cd%\..\OpenSankoreToOpenBoard"
IF NOT EXIST "%IMPORTER_PATH%" GOTO EXIT_WITH_ERROR 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 "MakeFile" (del "MakeFile*" /Q) IF EXIST "MakeFile" (del "MakeFile*" /Q)
IF EXIST "%IMPORTER_NAME%.exe" (del "%IMPORTER_NAME%.exe" /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 nmake release
IF NOT EXIST release\"%IMPORTER_NAME%.exe" GOTO EXIT_WITH_ERROR
cd %HOME_DIR% cd %HOME_DIR%
REM this checks if the custom qt directory path REM this checks if the custom qt directory path

Loading…
Cancel
Save