X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=scripts%2Frebuild;h=fd1b92764e96d6845d3c62f811e48d2a6cfd7d79;hb=refs%2Fheads%2Fdon%2Ffix_encoding;hp=6c98f2545dba5f87bc325b2df921ba4a5d6b6f2e;hpb=90b39e8c4b91cb1e21df851d136085a1237243b8;p=debbugs.git diff --git a/scripts/rebuild b/scripts/rebuild index 6c98f25..fd1b927 100755 --- a/scripts/rebuild +++ b/scripts/rebuild @@ -17,11 +17,11 @@ chdir("$gSpoolDir") || die "chdir spool: $!\n"; #global variables $debug = 0; -@ARGV==0 and &quit( "no archive given on the commandline" ); +@ARGV==0 and die "no archive given on the commandline" ; my $archive = shift(@ARGV); my $index = "index.$archive"; $index = 'index.db' if $archive eq 'db-h'; -open IDXFILE, "> $index" or &quit( "trying to reset index file: $!" ); +open IDXFILE, "> $index" or die "trying to reset index file: $!" ; #get list of bugs (ie, status files) my @files;