@@ -29,10 +29,7 @@ after_build:
2929 .\.cabal-sandbox\bin\pandoc.exe -s --template data\templates\default.rtf COPYING -t rtf -S -o COPYING.rtf
3030 copy COPYRIGHT COPYRIGHT.txt
3131 for /f "tokens=2 delims= " %%a in ('.\.cabal-sandbox\bin\pandoc --version') do ( set "VERSION=%%a" && exit )
32− if "%VERSION%" == "" (
33− echo Error: could not determine version number.
34− exit /b 1
35− )
32+ if "%VERSION%" == "" ( echo "Error: could not determine version number." && exit /b 1 )
3633 cd windows
3734 echo Creating msi...
3835 candle -dVERSION=%VERSION% pandoc.wxs