aboutsummaryrefslogtreecommitdiffstats
path: root/gendistrib
diff options
context:
space:
mode:
authorOlivier Thauvin <nanardon@mandriva.org>2005-09-14 01:02:35 +0000
committerOlivier Thauvin <nanardon@mandriva.org>2005-09-14 01:02:35 +0000
commit640b3157126dafba169c0c751f3272d5ea0c875f (patch)
tree9786185e2d854eb4ba111263123e2c6d23e89c81 /gendistrib
parentde63285da17b27996fc1cd5b3d64c289b81a450d (diff)
downloadrpmtools-640b3157126dafba169c0c751f3272d5ea0c875f.tar
rpmtools-640b3157126dafba169c0c751f3272d5ea0c875f.tar.gz
rpmtools-640b3157126dafba169c0c751f3272d5ea0c875f.tar.bz2
rpmtools-640b3157126dafba169c0c751f3272d5ea0c875f.tar.xz
rpmtools-640b3157126dafba169c0c751f3272d5ea0c875f.zip
- skip hdlist rebuild per media when not need
Diffstat (limited to 'gendistrib')
-rwxr-xr-xgendistrib2
1 files changed, 1 insertions, 1 deletions
diff --git a/gendistrib b/gendistrib
index 0a3c6be..d8bf8ec 100755
--- a/gendistrib
+++ b/gendistrib
@@ -314,7 +314,7 @@ foreach (0..$#hdlists) {
print STDERR "computing deps\n" unless $nooutput;
$urpm->compute_deps;
- if (!grep { ! $_->{noneedrebuild} } @hdlists) {
+ if ($e->{noneedrebuild}) {
# No media change, nothing to write
next;
}