summaryrefslogtreecommitdiffstats
path: root/gurpmi
diff options
context:
space:
mode:
authorRafael Garcia-Suarez <rgarciasuarez@mandriva.org>2004-08-10 07:54:09 +0000
committerRafael Garcia-Suarez <rgarciasuarez@mandriva.org>2004-08-10 07:54:09 +0000
commit59ac348cafaca8811e1f43559163324b85cacf83 (patch)
tree62f806c16369ee62c6164f3c03efa605dc973d3a /gurpmi
parentc58771ab78bc7aff42c10835e372a6b20a54b95c (diff)
downloadurpmi-59ac348cafaca8811e1f43559163324b85cacf83.tar
urpmi-59ac348cafaca8811e1f43559163324b85cacf83.tar.gz
urpmi-59ac348cafaca8811e1f43559163324b85cacf83.tar.bz2
urpmi-59ac348cafaca8811e1f43559163324b85cacf83.tar.xz
urpmi-59ac348cafaca8811e1f43559163324b85cacf83.zip
More taint safety
Diffstat (limited to 'gurpmi')
-rw-r--r--gurpmi1
1 files changed, 1 insertions, 0 deletions
diff --git a/gurpmi b/gurpmi
index 98efc19d..0f8a66e2 100644
--- a/gurpmi
+++ b/gurpmi
@@ -2,6 +2,7 @@
$ENV{XAUTHORITY} or $ENV{XAUTHORITY} = "$ENV{HOME}/.Xauthority";
$ENV{PATH} = '/bin:/usr/bin:/usr/sbin:/usr/X11R6/bin';
+delete @ENV{qw(IFS CDPATH ENV BASH_ENV)};
$urpmi = 'urpmi';
if (-f $urpmi && $ENV{DEBUG_URPMI}) { $urpmi = './urpmi' }