diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2000-03-24 14:29:15 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2000-03-24 14:29:15 +0000 |
commit | 47db3aa73d8c6b114940768738761d9bfba31f54 (patch) | |
tree | b0162e01df90461631f5acfcacb647be2ea71037 /genhdlist_cz2 | |
parent | ddd32559719b13d4917dc85f0f5fe906a914e48d (diff) | |
download | rpmtools-47db3aa73d8c6b114940768738761d9bfba31f54.tar rpmtools-47db3aa73d8c6b114940768738761d9bfba31f54.tar.gz rpmtools-47db3aa73d8c6b114940768738761d9bfba31f54.tar.bz2 rpmtools-47db3aa73d8c6b114940768738761d9bfba31f54.tar.xz rpmtools-47db3aa73d8c6b114940768738761d9bfba31f54.zip |
no_comment
Diffstat (limited to 'genhdlist_cz2')
-rw-r--r-- | genhdlist_cz2 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/genhdlist_cz2 b/genhdlist_cz2 index 26791d0..ec83e54 100644 --- a/genhdlist_cz2 +++ b/genhdlist_cz2 @@ -41,7 +41,7 @@ while ($_ = readdir DIR) { my ($key) = /(.*)\..*\.rpm$/ or next; system("rpm2header $dir/$_ > $key") unless -e $key; $? == 0 or unlink($key), die "bad rpm $dir/$_\n"; - -z $key or unlink($key), die "bad rpm $dir/$_\n"; + -s $key or unlink($key), die "bad rpm $dir/$_\n"; $keys{$key} = 1; } if (-e $depslist) { |