@@ -28,8 +28,7 @@ after_build:
28 .\.cabal-sandbox\bin\pandoc.exe -s --template data\templates\default.html -S README -o README.html
28 .\.cabal-sandbox\bin\pandoc.exe -s --template data\templates\default.html -S README -o README.html
29 .\.cabal-sandbox\bin\pandoc.exe -s --template data\templates\default.rtf COPYING -t rtf -S -o COPYING.rtf
29 .\.cabal-sandbox\bin\pandoc.exe -s --template data\templates\default.rtf COPYING -t rtf -S -o COPYING.rtf
30 copy COPYRIGHT COPYRIGHT.txt
30 copy COPYRIGHT COPYRIGHT.txt
31− for /f "tokens=2 delims= " %%a in ('.\.cabal-sandbox\bin\pandoc --version') do ( set "VERSION=%%a" && goto :next )
31+ for /f "tokens=2 delims= " %%a in ('.\.cabal-sandbox\bin\pandoc --version') do ( set "VERSION=%%a" && exit )
33 if "%VERSION%" == "" (
32 if "%VERSION%" == "" (
34 echo Error: could not determine version number.
33 echo Error: could not determine version number.