Change DEBUG and VERBOSE defaults so that omitting them from the command line has...
authorKevin Koch <kpkoch@mit.edu>
Thu, 29 Mar 2007 15:48:15 +0000 (15:48 +0000)
committerKevin Koch <kpkoch@mit.edu>
Thu, 29 Mar 2007 15:48:15 +0000 (15:48 +0000)
Pass NODEBUG=1 to build.pl.

Target_Version: 1.6.1
Ticket: 5490
Tags: pullup

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@19305 dc483132-0cff-0310-8789-dd5450dbe970

src/windows/build/BKWconfig.xml
src/windows/build/bkw.pl

index 15c72f21bf7cd25ea8f2b4da07fe3a7c46af751b..9818db79c1a2844ae9cc213319b04e1360e244df 100644 (file)
                        <unixfind       path    ="c:\cygwin\bin" />\r
                        </Directories>\r
                <Options>\r
-                       <debug value="1" />\r
+                       <debug value="0" />\r
                        <logfile value="1" path="bkw.pl.log" />\r
                        <repository value="skip" />\r
                        <clean value="0" />\r
                        <nomake value="0" />\r
                        <nopackage value="0" />\r
-                       <verbose value="1" />\r
+                       <verbose value="0" />\r
                        <vverbose value="0" />\r
                        </Options>\r
                </CommandLine>\r
index 674498b768db76b17666f72984a70ff96f27532a..69b523c5d86387f83d301be48f60a2f4f765cf25 100644 (file)
@@ -374,8 +374,8 @@ sub main {
                \r
                chdir("pismere/athena") or die "Fatal -- couldn't chdir to source directory $wd\\pismere\\athena\n";\r
                if ($verbose) {print "Info -- chdir to $wd\\pismere\\athena\n";}\r
-               local $log      = ($switches[0]->{logfile}->{value}) ? " " : " --nolog ";\r
-               !system("perl ../scripts/build.pl --softdirs --nolog $buildtarget")     or die "Fatal -- build $buildtarget failed.";\r
+               my $dbgswitch = ($switches[0]->{debug}->{value}) ? " " : "NODEBUG=1";\r
+               !system("perl ../scripts/build.pl --softdirs --nolog $buildtarget $dbgswitch")  or die "Fatal -- build $buildtarget failed.";\r
                        \r
                chdir("$wd\\pismere") or die "Fatal -- couldn't chdir to $wd\\pismere.";\r
                if ($clean) {\r