summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRafael Garcia-Suarez <rgarciasuarez@mandriva.org>2004-05-04 14:29:33 +0000
committerRafael Garcia-Suarez <rgarciasuarez@mandriva.org>2004-05-04 14:29:33 +0000
commit42695e87b3daf98dc387a80e0e61eb839046e63d (patch)
treedef1ab7c4d6abd13d4e64713d2eba8ffc1b44a6e
parent36a40c56f44d643af3a12eb925727934ca772ce3 (diff)
downloadurpmi-42695e87b3daf98dc387a80e0e61eb839046e63d.tar
urpmi-42695e87b3daf98dc387a80e0e61eb839046e63d.tar.gz
urpmi-42695e87b3daf98dc387a80e0e61eb839046e63d.tar.bz2
urpmi-42695e87b3daf98dc387a80e0e61eb839046e63d.tar.xz
urpmi-42695e87b3daf98dc387a80e0e61eb839046e63d.zip
Make gurpmi work with -T
-rw-r--r--gurpmi2
1 files changed, 2 insertions, 0 deletions
diff --git a/gurpmi b/gurpmi
index b6205411..98efc19d 100644
--- a/gurpmi
+++ b/gurpmi
@@ -6,5 +6,7 @@ $ENV{PATH} = '/bin:/usr/bin:/usr/sbin:/usr/X11R6/bin';
$urpmi = 'urpmi';
if (-f $urpmi && $ENV{DEBUG_URPMI}) { $urpmi = './urpmi' }
+@ARGV = map { /(.*)/ ; $1 } @ARGV;
+
exec $urpmi, "-X", @ARGV
or die "Can't exec $urpmi: $!\n";