summaryrefslogtreecommitdiffstats
path: root/urpm
diff options
context:
space:
mode:
authorRafael Garcia-Suarez <rgarciasuarez@mandriva.org>2005-04-25 08:52:45 +0000
committerRafael Garcia-Suarez <rgarciasuarez@mandriva.org>2005-04-25 08:52:45 +0000
commitd875bfb9b26cf71558ea64884fa04ef11506e985 (patch)
treec5d605cfc9e02aff09a983c0f17542050548fb56 /urpm
parent4703bbea37b0b9fa4ded03d0b3d6e495728375f5 (diff)
downloadurpmi-d875bfb9b26cf71558ea64884fa04ef11506e985.tar
urpmi-d875bfb9b26cf71558ea64884fa04ef11506e985.tar.gz
urpmi-d875bfb9b26cf71558ea64884fa04ef11506e985.tar.bz2
urpmi-d875bfb9b26cf71558ea64884fa04ef11506e985.tar.xz
urpmi-d875bfb9b26cf71558ea64884fa04ef11506e985.zip
There's no reason not to extend this improvement to urpmq
Diffstat (limited to 'urpm')
-rw-r--r--urpm/args.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/urpm/args.pm b/urpm/args.pm
index a7e890b2..1b918395 100644
--- a/urpm/args.pm
+++ b/urpm/args.pm
@@ -202,7 +202,7 @@ my %options_spec = (
sources => \$options{sources},
force => \$options{force},
'skip=s' => \$options{skip},
- 'root=s' => \$options{root},
+ 'root=s' => sub { require File::Spec; $options{root} = File::Spec->rel2abs($_[1]) },
'use-distrib=s' => \$options{usedistrib},
'parallel=s' => \$options{parallel},
'env=s' => \$options{env},