diff options
author | Martin Whitaker <mageia@martin-whitaker.me.uk> | 2017-12-23 09:41:46 +0000 |
---|---|---|
committer | Martin Whitaker <mageia@martin-whitaker.me.uk> | 2017-12-23 09:41:46 +0000 |
commit | 7b59f85a2b1b79e3659ac5c15d066027da61e988 (patch) | |
tree | 87918f7cc07b3b9a3c4a54e390753ea8846d2811 | |
parent | 4c90f6450c26668e8033c8a6b6b6b930221a7be9 (diff) | |
download | drakiso-7b59f85a2b1b79e3659ac5c15d066027da61e988.tar drakiso-7b59f85a2b1b79e3659ac5c15d066027da61e988.tar.gz drakiso-7b59f85a2b1b79e3659ac5c15d066027da61e988.tar.bz2 drakiso-7b59f85a2b1b79e3659ac5c15d066027da61e988.tar.xz drakiso-7b59f85a2b1b79e3659ac5c15d066027da61e988.zip |
Don't output informational messages on stderr.
-rwxr-xr-x | lib/MGA/DrakISO/BuildRoot.pm | 2 | ||||
-rw-r--r-- | lib/MGA/DrakISO/Utils.pm | 2 |
2 files changed, 2 insertions, 2 deletions
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); } |