summaryrefslogtreecommitdiff
path: root/Build.pm
diff options
context:
space:
mode:
authorMichael Schroeder <mls@suse.de>2010-03-03 12:39:00 +0100
committerMichael Schroeder <mls@suse.de>2010-03-03 12:39:00 +0100
commit0929a90d18c61de4b05e039e3da157774dc9b4f1 (patch)
tree1233da6482eb02b27e310b6fc35b098cbd3d0b6a /Build.pm
parent77ab9fa16c0101d76be47d613662c072929d41ef (diff)
downloadobs-build-0929a90d18c61de4b05e039e3da157774dc9b4f1.tar.gz
obs-build-0929a90d18c61de4b05e039e3da157774dc9b4f1.tar.bz2
obs-build-0929a90d18c61de4b05e039e3da157774dc9b4f1.zip
- add method to query leadsigid
Diffstat (limited to 'Build.pm')
-rw-r--r--Build.pm10
1 files changed, 5 insertions, 5 deletions
diff --git a/Build.pm b/Build.pm
index 74631c1..6756ada 100644
--- a/Build.pm
+++ b/Build.pm
@@ -776,11 +776,11 @@ sub query {
sub queryhdrmd5 {
my ($binname) = @_;
- return Build::Rpm::queryhdrmd5($binname) if $do_rpm && $binname =~ /\.rpm$/;
- return Build::Deb::queryhdrmd5($binname) if $do_deb && $binname =~ /\.deb$/;
- return Build::Kiwi::queryhdrmd5($binname) if $do_kiwi && $binname =~ /\.iso$/;
- return Build::Kiwi::queryhdrmd5($binname) if $do_kiwi && $binname =~ /\.raw$/;
- return Build::Kiwi::queryhdrmd5($binname) if $do_kiwi && $binname =~ /\.raw.install$/;
+ return Build::Rpm::queryhdrmd5(@_) if $do_rpm && $binname =~ /\.rpm$/;
+ return Build::Deb::queryhdrmd5(@_) if $do_deb && $binname =~ /\.deb$/;
+ return Build::Kiwi::queryhdrmd5(@_) if $do_kiwi && $binname =~ /\.iso$/;
+ return Build::Kiwi::queryhdrmd5(@_) if $do_kiwi && $binname =~ /\.raw$/;
+ return Build::Kiwi::queryhdrmd5(@_) if $do_kiwi && $binname =~ /\.raw.install$/;
return undef;
}