From 7b59f85a2b1b79e3659ac5c15d066027da61e988 Mon Sep 17 00:00:00 2001 From: Martin Whitaker Date: Sat, 23 Dec 2017 09:41:46 +0000 Subject: Don't output informational messages on stderr. --- lib/MGA/DrakISO/BuildRoot.pm | 2 +- lib/MGA/DrakISO/Utils.pm | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'lib') diff --git a/lib/MGA/DrakISO/BuildRoot.pm b/lib/MGA/DrakISO/BuildRoot.pm index c762f50..252699a 100755 --- a/lib/MGA/DrakISO/BuildRoot.pm +++ b/lib/MGA/DrakISO/BuildRoot.pm @@ -205,7 +205,7 @@ sub copy_files_to { $dest = $root . '/' . $dest; mkdir_p($dest =~ m|/$| ? $dest : dirname($dest)); my @sources = MGA::DrakISO::Utils::glob__($build->{settings}{config_root} . '/' . $source); - print STDERR "copying @sources to $dest\n" if $::verbose > 1; + print "copying @sources to $dest\n" if $::verbose > 1; cp_af(@sources, $dest); my $o_perm = $o_opts && $o_opts->{mode}; chmod $o_perm, $dest if $o_perm; diff --git a/lib/MGA/DrakISO/Utils.pm b/lib/MGA/DrakISO/Utils.pm index 35fae93..6aee33f 100644 --- a/lib/MGA/DrakISO/Utils.pm +++ b/lib/MGA/DrakISO/Utils.pm @@ -53,7 +53,7 @@ sub run_ { my $targetarch = delete $options->{targetarch}; unshift @cmd, 'setarch', $targetarch if $targetarch; } - print STDERR "running " . (exists $options->{root} && "(in chroot) ") . join(' ', @cmd) . "\n" if $::verbose > 1; + print "running " . (exists $options->{root} && "(in chroot) ") . join(' ', @cmd) . "\n" if $::verbose > 1; run_program::raw($options, @cmd); } -- cgit v1.2.1