diff options
author | Rafael Garcia-Suarez <rgarciasuarez@mandriva.org> | 2005-06-28 08:38:07 +0000 |
---|---|---|
committer | Rafael Garcia-Suarez <rgarciasuarez@mandriva.org> | 2005-06-28 08:38:07 +0000 |
commit | c72ae1c2a0aa6701521129756ef80ca83376e662 (patch) | |
tree | 733bfbb7cda68094542fc10f2bd5a8d58f781fb6 /urpmi.addmedia | |
parent | d24a8a1eee7871021fbca58579ac183fd978e299 (diff) | |
download | urpmi-c72ae1c2a0aa6701521129756ef80ca83376e662.tar urpmi-c72ae1c2a0aa6701521129756ef80ca83376e662.tar.gz urpmi-c72ae1c2a0aa6701521129756ef80ca83376e662.tar.bz2 urpmi-c72ae1c2a0aa6701521129756ef80ca83376e662.tar.xz urpmi-c72ae1c2a0aa6701521129756ef80ca83376e662.zip |
One steps towards -T compliance
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}) { |