From c72ae1c2a0aa6701521129756ef80ca83376e662 Mon Sep 17 00:00:00 2001 From: Rafael Garcia-Suarez Date: Tue, 28 Jun 2005 08:38:07 +0000 Subject: One steps towards -T compliance --- urpme | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'urpme') diff --git a/urpme b/urpme index 472f3302..991bb712 100644 --- a/urpme +++ b/urpme @@ -19,12 +19,14 @@ # along with this program; if not, write to the Free Software # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. -#We only make good software ;-) use strict; use urpm; use urpm::args; use urpm::msg; +$ENV{PATH} = "/sbin:/usr/sbin:/bin:/usr/bin:/usr/X11R6/bin"; +delete @ENV{qw(ENV BASH_ENV IFS CDPATH)}; + our ($root, $test, $parallel, $auto, $matches, $verbose, $maymatch, $usedistrib, $force, @l); my $askok = N("Is this OK?"); # Translator: Add here the keys which might be pressed in the "No"-case. -- cgit v1.2.1