From 570ca770d29d7800f79d6789c2b1142e383a348a Mon Sep 17 00:00:00 2001 From: "mkanat%bugzilla.org" <> Date: Mon, 22 Dec 2008 15:50:50 +0000 Subject: Bug 470442: Only delete tainted environment variables if we're running in taint mode Patch By Max Kanat-Alexander r=LpSolit, a=LpSolit --- checksetup.pl | 3 --- 1 file changed, 3 deletions(-) (limited to 'checksetup.pl') diff --git a/checksetup.pl b/checksetup.pl index 74b21dfda..da368a822 100755 --- a/checksetup.pl +++ b/checksetup.pl @@ -95,10 +95,7 @@ exit if $switch{'check-modules'}; # then instead of our nice normal checksetup message, the user would # get a cryptic perl error about the missing module. -# We need $::ENV{'PATH'} to remain defined. -my $env = $::ENV{'PATH'}; require Bugzilla; -$::ENV{'PATH'} = $env; require Bugzilla::Config; import Bugzilla::Config qw(:admin); -- cgit v1.2.3-24-g4f1b