diff options
Diffstat (limited to 'urpmi.addmedia')
-rwxr-xr-x | urpmi.addmedia | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/urpmi.addmedia b/urpmi.addmedia index cfb3321b..a866902b 100755 --- a/urpmi.addmedia +++ b/urpmi.addmedia @@ -88,6 +88,9 @@ sub remove_failed { } } +$ENV{PATH} = "/sbin:/usr/sbin:/bin:/usr/bin:/usr/X11R6/bin"; +delete @ENV{qw(ENV BASH_ENV IFS CDPATH)}; + #- parse /etc/urpmi/mirror.config if present, or use default mdk mirror. #- the --from option overrides this setting. if ($options{mirrors_url}) { |