summaryrefslogtreecommitdiffstats
path: root/lib/MGA/DrakISO/BuildRoot.pm
diff options
context:
space:
mode:
authorMartin Whitaker <mageia@martin-whitaker.me.uk>2018-04-01 21:14:46 +0100
committerMartin Whitaker <mageia@martin-whitaker.me.uk>2018-04-01 21:14:46 +0100
commit76abcd91020a70f9b90a0b0748b0128efaebddf9 (patch)
tree825d7024611273d467ab3f15ab609a25a1aeedde /lib/MGA/DrakISO/BuildRoot.pm
parentee01aca88ae9db68ef97360ba5cad10e5a1e5141 (diff)
downloaddrakiso-76abcd91020a70f9b90a0b0748b0128efaebddf9.tar
drakiso-76abcd91020a70f9b90a0b0748b0128efaebddf9.tar.gz
drakiso-76abcd91020a70f9b90a0b0748b0128efaebddf9.tar.bz2
drakiso-76abcd91020a70f9b90a0b0748b0128efaebddf9.tar.xz
drakiso-76abcd91020a70f9b90a0b0748b0128efaebddf9.zip
Fix some perl -cw and perl_checker warnings.
Diffstat (limited to 'lib/MGA/DrakISO/BuildRoot.pm')
-rw-r--r--lib/MGA/DrakISO/BuildRoot.pm3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/MGA/DrakISO/BuildRoot.pm b/lib/MGA/DrakISO/BuildRoot.pm
index 85aefab..d1f4531 100644
--- a/lib/MGA/DrakISO/BuildRoot.pm
+++ b/lib/MGA/DrakISO/BuildRoot.pm
@@ -27,7 +27,6 @@ package MGA::DrakISO::BuildRoot;
use strict;
use MDK::Common;
-use common;
use File::Temp qw(tmpnam);
use Try::Tiny;
@@ -178,7 +177,7 @@ sub install_live_system {
or die "ERROR: failed to install base system\n";
# Add the release notes.
- for (qw(release-notes.html release-notes.txt)) {
+ foreach (qw(release-notes.html release-notes.txt)) {
copy_file_to_root($live_root, '', 0644, $arch_repository . '/' . $_);
}