aboutsummaryrefslogtreecommitdiffstats
path: root/genhdlist2
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2007-08-12 12:27:42 +0000
committerPascal Rigaux <pixel@mandriva.com>2007-08-12 12:27:42 +0000
commit8377e1177b810866776ef7215a020bcd53cb293d (patch)
treedd9b927fdca53bc36faa179d1a41f2af97a42ea5 /genhdlist2
parent57ae5668f6787a3e40595e69ffdee74100de52e9 (diff)
downloadrpmtools-8377e1177b810866776ef7215a020bcd53cb293d.tar
rpmtools-8377e1177b810866776ef7215a020bcd53cb293d.tar.gz
rpmtools-8377e1177b810866776ef7215a020bcd53cb293d.tar.bz2
rpmtools-8377e1177b810866776ef7215a020bcd53cb293d.tar.xz
rpmtools-8377e1177b810866776ef7215a020bcd53cb293d.zip
perl_checker complaince
Diffstat (limited to 'genhdlist2')
-rw-r--r--genhdlist22
1 files changed, 1 insertions, 1 deletions
diff --git a/genhdlist2 b/genhdlist2
index 3ca0963..fcbbbb5 100644
--- a/genhdlist2
+++ b/genhdlist2
@@ -234,7 +234,7 @@ sub generate_md5sum {
print "updating $media_info_dir/MD5SUM\n" if $verbose >= 0;
my $m = `cd '$media_info_dir' ; /usr/bin/md5sum hdlist.cz synthesis.hdlist.cz`;
unlink "$media_info_dir/MD5SUM"; # ensure no hard link is used
- open my $f, '>', "$media_info_dir/MD5SUM" or die "Can't write MD5SUM: $!\n";
+ open(my $f, '>', "$media_info_dir/MD5SUM") or die "Can't write MD5SUM: $!\n";
print $f $m;
}