diff options
author | Rafael Garcia-Suarez <rgarciasuarez@mandriva.org> | 2004-04-14 08:33:44 +0000 |
---|---|---|
committer | Rafael Garcia-Suarez <rgarciasuarez@mandriva.org> | 2004-04-14 08:33:44 +0000 |
commit | fadf35a458884372e139c97282a333f4a0d84f25 (patch) | |
tree | 83972b954e1c00e35e2329078590bf5bd76c086c /urpmi.addmedia | |
parent | 8c6c3610ab5d9fa60c2e38cbcba71d9517cfd6f6 (diff) | |
download | urpmi-fadf35a458884372e139c97282a333f4a0d84f25.tar urpmi-fadf35a458884372e139c97282a333f4a0d84f25.tar.gz urpmi-fadf35a458884372e139c97282a333f4a0d84f25.tar.bz2 urpmi-fadf35a458884372e139c97282a333f4a0d84f25.tar.xz urpmi-fadf35a458884372e139c97282a333f4a0d84f25.zip |
urpmi.addmedia was forgetting command-line arguments.
Diffstat (limited to 'urpmi.addmedia')
-rwxr-xr-x | urpmi.addmedia | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/urpmi.addmedia b/urpmi.addmedia index 6efb7941..793316b0 100755 --- a/urpmi.addmedia +++ b/urpmi.addmedia @@ -89,13 +89,12 @@ sub main { } close F; } - #--- $options{force} = 0; $options{noclean} = 1; $options{probe_with} = 'synthesis'; #- no the default is to probe synthesis file. my $urpm = new urpm; urpm::args::parse_cmdline(urpm => $urpm); - our ($name, $url, $with, $relative_hdlist) = @ARGV; + our ($name, $url, $with, $relative_hdlist) = our @cmdline; #- allow not to give name immediately. $options{distrib} or $url or ($url, $name) = ($name, ''); |