Source

orange / install-scripts / callCreateSnapshot.btm

@echo off
set QTVER=qt44-3rdparty
call createSnapshot.btm %QTVER >& win-snapshot-create.%QTVER.log

iff %ERRORS != 0 then
  set subj="Orange for Windows: Error creating %QTVER snapshot installation(s)"
  echo Error
else
  set subj="Orange for Windows: Snapshot installation(s) for %QTVER built"
endiff

cdd %SCRIPTDIR
sendmail %MAIL_TO %subj @%SCRIPTDIR\win-snapshot-create.%QTVER.log

rem # copy log(s) to web in any case (success or error)
set BUILDLOGDIR=%DOWNLOADDIR\buildLogs\winxp
if not direxist %BUILDLOGDIR mkdir /s %BUILDLOGDIR
del /eq %BUILDLOGDIR\win-snapshot-*.log
move /z %SCRIPTDIR\win-snapshot-create.%QTVER.log %BUILDLOGDIR
move /z %TMPDIR\win-snapshot*.log %BUILDLOGDIR