aboutsummaryrefslogtreecommitdiffstats
path: root/rpmtools.pm
diff options
context:
space:
mode:
authorFrancois Pons <fpons@mandriva.com>2001-02-19 16:45:55 +0000
committerFrancois Pons <fpons@mandriva.com>2001-02-19 16:45:55 +0000
commit5793e3408624f83c9f12d76b340f20b2da63d849 (patch)
treef63390537db849275b9531f4cadf724e256e34cf /rpmtools.pm
parent9d85e901ed85548eca61eecc23bec48cbb76f734 (diff)
downloadrpmtools-5793e3408624f83c9f12d76b340f20b2da63d849.tar
rpmtools-5793e3408624f83c9f12d76b340f20b2da63d849.tar.gz
rpmtools-5793e3408624f83c9f12d76b340f20b2da63d849.tar.bz2
rpmtools-5793e3408624f83c9f12d76b340f20b2da63d849.tar.xz
rpmtools-5793e3408624f83c9f12d76b340f20b2da63d849.zip
*** empty log message ***
Diffstat (limited to 'rpmtools.pm')
-rw-r--r--rpmtools.pm5
1 files changed, 1 insertions, 4 deletions
diff --git a/rpmtools.pm b/rpmtools.pm
index 1f29563..891321a 100644
--- a/rpmtools.pm
+++ b/rpmtools.pm
@@ -150,10 +150,7 @@ sub build_hdlist {
sub read_rpms {
my ($params, @rpms) = @_;
- foreach (@rpms) {
- rpmtools::_parse_($_, $params->{flags}, $params->{info}, $params->{provides});
- }
- 1;
+ map { rpmtools::_parse_($_, $params->{flags}, $params->{info}, $params->{provides}) } @rpms;
}
#- compute dependancies, result in stored in info values of params.