]> git.donarmstrong.com Git - debbugs.git/commitdiff
[project @ 2005-08-09 23:09:42 by cjwatson]
authorcjwatson <>
Wed, 10 Aug 2005 06:09:42 +0000 (22:09 -0800)
committercjwatson <>
Wed, 10 Aug 2005 06:09:42 +0000 (22:09 -0800)
send debug output to consistent fd

scripts/expire.in

index 3a6b3f457ada15c4b830a2de097f628a3d03ec15..99a60c6ef50ee21b28d44a9b1ad96ff5216b69a9 100755 (executable)
@@ -1,5 +1,5 @@
 #!/usr/bin/perl
-# $Id: expire.in,v 1.21 2005/08/09 23:04:43 cjwatson Exp $
+# $Id: expire.in,v 1.22 2005/08/09 23:09:42 cjwatson Exp $
 
 # Load modules and set environment
 use File::Copy;
@@ -32,9 +32,9 @@ foreach my $dir (@dirs) {
 
 #process each bug (ie, status file)
 while (length($ref=shift(@list))) {
-    print STDERR "$ref considering\n" if $debug;
+    print "$ref considering\n" if $debug;
     ($bfound, $data)= &lockreadbugmerge($ref);
-    print STDERR "$ref read $bfound\n" if $debug;
+    print "$ref read $bfound\n" if $debug;
     $bfound || next;
     print "$ref read ok (done $data->{done})\n" if $debug;
     (&unlockreadbugmerge($bfound), next) unless length($data->{done});