summaryrefslogtreecommitdiffstats
path: root/urpmi.removemedia
diff options
context:
space:
mode:
Diffstat (limited to 'urpmi.removemedia')
-rwxr-xr-xurpmi.removemedia3
1 files changed, 3 insertions, 0 deletions
diff --git a/urpmi.removemedia b/urpmi.removemedia
index 4c8795cd..3d3d273c 100755
--- a/urpmi.removemedia
+++ b/urpmi.removemedia
@@ -24,6 +24,9 @@ use strict;
use urpm;
use urpm::msg;
+$ENV{PATH} = "/sbin:/usr/sbin:/bin:/usr/bin:/usr/X11R6/bin";
+delete @ENV{qw(ENV BASH_ENV IFS CDPATH)};
+
sub main {
my (@toremoves, %options);