summaryrefslogtreecommitdiffstats
path: root/urpmi.update
diff options
context:
space:
mode:
Diffstat (limited to 'urpmi.update')
-rwxr-xr-xurpmi.update3
1 files changed, 3 insertions, 0 deletions
diff --git a/urpmi.update b/urpmi.update
index 1c52e5af..9504f08a 100755
--- a/urpmi.update
+++ b/urpmi.update
@@ -50,6 +50,9 @@ where <name> is a medium name to update.
exit 0;
}
+$ENV{PATH} = "/sbin:/usr/sbin:/bin:/usr/bin:/usr/X11R6/bin";
+delete @ENV{qw(ENV BASH_ENV IFS CDPATH)};
+
our @toupdates; #- set by urpm::args
my $urpm = new urpm;