diff options
author | Francois Pons <fpons@mandriva.com> | 2000-03-23 12:24:12 +0000 |
---|---|---|
committer | Francois Pons <fpons@mandriva.com> | 2000-03-23 12:24:12 +0000 |
commit | ddd32559719b13d4917dc85f0f5fe906a914e48d (patch) | |
tree | 772db5c77f537e1815f4557031733a2e45eb0543 /genhdlist_cz2 | |
parent | a898762b524ce1e92a2396f36c02aa475c4314f8 (diff) | |
download | rpmtools-ddd32559719b13d4917dc85f0f5fe906a914e48d.tar rpmtools-ddd32559719b13d4917dc85f0f5fe906a914e48d.tar.gz rpmtools-ddd32559719b13d4917dc85f0f5fe906a914e48d.tar.bz2 rpmtools-ddd32559719b13d4917dc85f0f5fe906a914e48d.tar.xz rpmtools-ddd32559719b13d4917dc85f0f5fe906a914e48d.zip |
*** empty log message ***
Diffstat (limited to 'genhdlist_cz2')
-rw-r--r-- | genhdlist_cz2 | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/genhdlist_cz2 b/genhdlist_cz2 index de3e317..26791d0 100644 --- a/genhdlist_cz2 +++ b/genhdlist_cz2 @@ -41,6 +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"; $keys{$key} = 1; } if (-e $depslist) { |