diff options
author | Michael Schroeder <mls@suse.de> | 2010-03-03 12:39:00 +0100 |
---|---|---|
committer | Michael Schroeder <mls@suse.de> | 2010-03-03 12:39:00 +0100 |
commit | 0929a90d18c61de4b05e039e3da157774dc9b4f1 (patch) | |
tree | 1233da6482eb02b27e310b6fc35b098cbd3d0b6a /Build.pm | |
parent | 77ab9fa16c0101d76be47d613662c072929d41ef (diff) | |
download | obs-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.pm | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -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; } |