From: cjwatson <> Date: Sat, 31 May 2003 20:41:39 +0000 (-0800) Subject: [project @ 2003-05-31 13:41:39 by cjwatson] X-Git-Tag: release/2.6.0~876 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=10eb6cdce25f4ebcf08264ef2fd85620091c54e2;p=debbugs.git [project @ 2003-05-31 13:41:39 by cjwatson] Silence 'Name "main::gSpoolDir" used only once: possible typo' warning. --- diff --git a/scripts/rebuild.in b/scripts/rebuild.in index 2347366d..0b5ca9e9 100755 --- a/scripts/rebuild.in +++ b/scripts/rebuild.in @@ -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";