]> git.donarmstrong.com Git - debbugs.git/commitdiff
[project @ 2003-05-31 13:41:39 by cjwatson]
authorcjwatson <>
Sat, 31 May 2003 20:41:39 +0000 (12:41 -0800)
committercjwatson <>
Sat, 31 May 2003 20:41:39 +0000 (12:41 -0800)
Silence 'Name "main::gSpoolDir" used only once: possible typo' warning.

scripts/rebuild.in

index 2347366d454c09b8bbb089cae250cc33478fbdc5..0b5ca9e98f5943c6365c30de7c643f78c300c225 100755 (executable)
@@ -1,5 +1,5 @@
 #!/usr/bin/perl -w
-# $Id: rebuild.in,v 1.10 2003/05/25 15:51:51 cjwatson Exp $
+# $Id: rebuild.in,v 1.11 2003/05/31 13:41:39 cjwatson Exp $
 
 # Load modules and set environment
 use File::Copy;
@@ -8,6 +8,8 @@ $lib_path = '/usr/lib/debbugs';
 
 require("$config_path/config");
 require("$lib_path/errorlib");
+use vars qw($gSpoolDir);
+
 $ENV{'PATH'} = $lib_path.':'.$ENV{'PATH'};
 
 chdir("$gSpoolDir") || die "chdir spool: $!\n";