summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2000-11-12 17:06:34 +0000
committerPascal Rigaux <pixel@mandriva.com>2000-11-12 17:06:34 +0000
commit66492653f953660bd3625f7038956de779fa5ecf (patch)
treeb4f5d3655bc9caf39265bef0a3b58231ec8c2710
parentb022d3903ba722f5b198da4b6aa8ed3c4b017992 (diff)
downloadurpmi-66492653f953660bd3625f7038956de779fa5ecf.tar
urpmi-66492653f953660bd3625f7038956de779fa5ecf.tar.gz
urpmi-66492653f953660bd3625f7038956de779fa5ecf.tar.bz2
urpmi-66492653f953660bd3625f7038956de779fa5ecf.tar.xz
urpmi-66492653f953660bd3625f7038956de779fa5ecf.zip
unset CDPATH (i've checked it perl's source, there'll be no more such surprise :)
-rwxr-xr-xurpmi2
1 files changed, 1 insertions, 1 deletions
diff --git a/urpmi b/urpmi
index ce487dfe..d542649f 100755
--- a/urpmi
+++ b/urpmi
@@ -40,7 +40,7 @@ my %I18N;
load_po();
$ENV{PATH} = "/sbin:/usr/sbin:/bin:/usr/bin:/usr/X11R6/bin";
-delete @ENV{qw(ENV BASH_ENV IFS)};
+delete @ENV{qw(ENV BASH_ENV IFS CDPATH)};
($<, $uid) = ($>, $<);
sub usage {