From d875bfb9b26cf71558ea64884fa04ef11506e985 Mon Sep 17 00:00:00 2001 From: Rafael Garcia-Suarez Date: Mon, 25 Apr 2005 08:52:45 +0000 Subject: There's no reason not to extend this improvement to urpmq --- urpm/args.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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}, -- cgit v1.2.1