From fb33db9c6e67b76d1ccd07d2fe52fc102ef9d30c Mon Sep 17 00:00:00 2001 From: "petitta%netscape.com" Date: Tue, 6 Apr 1999 22:38:01 +0000 Subject: [PATCH] Update mailing routines git-svn-id: svn://10.0.0.236/trunk@26570 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/cck/build/CCKBuild.bat | 6 +++--- mozilla/cck/build/date.pl | 3 ++- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/mozilla/cck/build/CCKBuild.bat b/mozilla/cck/build/CCKBuild.bat index 636e4990084..63e5ee1de00 100755 --- a/mozilla/cck/build/CCKBuild.bat +++ b/mozilla/cck/build/CCKBuild.bat @@ -45,7 +45,7 @@ cd\builds\mozilla\cck\driver REM Send Pull completion notification echo.CCK source pull complete. >> tempfile.txt -REM blat tempfile.txt -t page-petitta@netscape.com -s "CCK Pull Notification" -i Undertaker +blat tempfile.txt -t page-petitta@netscape.com -s "CCK Pull Notification" -i Undertaker if exist tempfile.txt del tempfile.txt REM build the damn thing, then send notification if the exe is there. @@ -58,12 +58,12 @@ if "%MOZ_DEBUG%"=="0" if exist D:\builds\mozilla\cck\driver\release\wizardmachin REM If the target is there then do the right thing, Mail notification then upload it. echo.CCK build complete and verified. >> tempfile.txt -REM if "%BuildGood%"=="1" blat tempfile.txt -t page-petitta@netscape.com -s "CCK Build Notification" -i Undertaker +if "%BuildGood%"=="1" blat tempfile.txt -t page-petitta@netscape.com -s "CCK Build Notification" -i Undertaker if exist tempfile.txt del tempfile.txt REM Houston we have a problem, abort, abort!!!!! if "%BuildGood%" =="0" echo.CCK build died, casualty assesment. >> tempfile.txt -REM if "%BuildGood%" =="0" blat tempfile.txt -t page-petitta@netscape.com -s "CCK Build Notification" -i Undertaker +if "%BuildGood%" =="0" blat tempfile.txt -t page-petitta@netscape.com -s "CCK Build Notification" -i Undertaker if exist tempfile.txt del tempfile.txt if "%BuildGood%" =="0" set ErrorType=2 if "%BuildGood%" =="0" goto Errors diff --git a/mozilla/cck/build/date.pl b/mozilla/cck/build/date.pl index ae0fd689586..b8382737930 100644 --- a/mozilla/cck/build/date.pl +++ b/mozilla/cck/build/date.pl @@ -13,7 +13,8 @@ if ($len < 2) { $mday = 0 . $mday } +$year = $year + 1900; $Blddate = $year . $mon . $mday . $hour; -open (BDATE, ">c:\\CCKScripts\\bdate.bat") || die "cannot open c:\\scripts\\bdate.bat: $!"; +open (BDATE, ">c:\\CCKScripts\\bdate.bat") || die "cannot open c:\\CCKScripts\\bdate.bat: $!"; print BDATE "set BuildID=$Blddate\n";