aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrancois Pons <fpons@mandriva.com>2000-03-23 12:24:12 +0000
committerFrancois Pons <fpons@mandriva.com>2000-03-23 12:24:12 +0000
commitddd32559719b13d4917dc85f0f5fe906a914e48d (patch)
tree772db5c77f537e1815f4557031733a2e45eb0543
parenta898762b524ce1e92a2396f36c02aa475c4314f8 (diff)
downloadrpmtools-ddd32559719b13d4917dc85f0f5fe906a914e48d.tar
rpmtools-ddd32559719b13d4917dc85f0f5fe906a914e48d.tar.gz
rpmtools-ddd32559719b13d4917dc85f0f5fe906a914e48d.tar.bz2
rpmtools-ddd32559719b13d4917dc85f0f5fe906a914e48d.tar.xz
rpmtools-ddd32559719b13d4917dc85f0f5fe906a914e48d.zip
*** empty log message ***
-rw-r--r--genhdlist_cz21
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) {