diff options
author | Olivier Blin <blino@mageia.org> | 2011-01-13 12:42:41 +0000 |
---|---|---|
committer | Olivier Blin <blino@mageia.org> | 2011-01-13 12:42:41 +0000 |
commit | e9fe96e5d2a9c3245aca5728ae62d54a1dea8ffa (patch) | |
tree | fc38602842f034bc3b53e898a7044b58f6ba1eda /lib/Iurt/Urpmi.pm | |
parent | 52c6bf712bc25b1dd318d3c485f847133f26243d (diff) | |
download | iurt-e9fe96e5d2a9c3245aca5728ae62d54a1dea8ffa.tar iurt-e9fe96e5d2a9c3245aca5728ae62d54a1dea8ffa.tar.gz iurt-e9fe96e5d2a9c3245aca5728ae62d54a1dea8ffa.tar.bz2 iurt-e9fe96e5d2a9c3245aca5728ae62d54a1dea8ffa.tar.xz iurt-e9fe96e5d2a9c3245aca5728ae62d54a1dea8ffa.zip |
add missing parentheses in open calls
Diffstat (limited to 'lib/Iurt/Urpmi.pm')
-rw-r--r-- | lib/Iurt/Urpmi.pm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Iurt/Urpmi.pm b/lib/Iurt/Urpmi.pm index d8c58c6..2559287 100644 --- a/lib/Iurt/Urpmi.pm +++ b/lib/Iurt/Urpmi.pm @@ -157,7 +157,7 @@ sub urpmi_command { if (-d $local_media) { mkdir("$chroot_tmp/iurt_media/"); - opendir my $dir, $local_media; + opendir(my $dir, $local_media); my $next; foreach my $f (readdir $dir) { $f =~ /(\.rpm|^hdlist.cz)$/ or next; @@ -268,7 +268,7 @@ sub get_local_provides { my $program_name = $run->{program_name}; my $local_media = $self->{local_media}; - opendir my $dir, $local_media; + opendir(my $dir, $local_media); plog(1, "get local provides ($local_media)"); require URPM; my $urpm = new URPM; |