aboutsummaryrefslogtreecommitdiffstats
path: root/genhdlist2
diff options
context:
space:
mode:
authorThierry Vignaud <thierry.vignaud@gmail.com>2014-09-06 17:19:17 +0200
committerThierry Vignaud <thierry.vignaud@gmail.com>2014-09-06 17:34:42 +0200
commitab5d58eed503fe1afd214f3efb05bd8dc827b92e (patch)
tree4b20bc36c3358c755e3f66ab0ec17b964f8b018a /genhdlist2
parentf37a4775d98812f10784b3a656bce5446a22da9b (diff)
downloadrpmtools-ab5d58eed503fe1afd214f3efb05bd8dc827b92e.tar
rpmtools-ab5d58eed503fe1afd214f3efb05bd8dc827b92e.tar.gz
rpmtools-ab5d58eed503fe1afd214f3efb05bd8dc827b92e.tar.bz2
rpmtools-ab5d58eed503fe1afd214f3efb05bd8dc827b92e.tar.xz
rpmtools-ab5d58eed503fe1afd214f3efb05bd8dc827b92e.zip
silent perl_checker
Diffstat (limited to 'genhdlist2')
-rwxr-xr-xgenhdlist24
1 files changed, 2 insertions, 2 deletions
diff --git a/genhdlist2 b/genhdlist2
index 0dabfe0..88ed4ba 100755
--- a/genhdlist2
+++ b/genhdlist2
@@ -113,13 +113,13 @@ sub do_it {
if ($options{xml_info} eq 'auto') {
$options{xml_info} = -e "$media_info_dir/info.xml$xml_info_suffix";
}
- my @xml_media_info = $options{xml_info} ? ('info', 'files', 'changelog') : ();
+ my @xml_media_info = $options{xml_info} ? ('info', 'files', 'changelog') : @{[]};
build($urpm, \%rpms_todo, $media_info_dir, $rpms_dir, \@xml_media_info, $options{no_incremental}, $options{no_hdlist}, $xml_info_suffix, $xml_info_filter, $synthesis);
build_synthesis($urpm, "$synthesis.tmp", $synthesis_filter);
if (1) {
- my @media_info_files = ($options{no_hdlist} ? () : 'hdlist.cz',
+ my @media_info_files = ($options{no_hdlist} ? @{[]} : 'hdlist.cz',
"synthesis.hdlist$synthesis_suffix", map { "$_.xml$xml_info_suffix" } @xml_media_info);
foreach my $name (@media_info_files) {
print "replacing $media_info_dir/$name with $name.tmp\n" if $verbose >= 0;