diff options
author | Martin Whitaker <mageia@martin-whitaker.me.uk> | 2018-04-01 21:14:46 +0100 |
---|---|---|
committer | Martin Whitaker <mageia@martin-whitaker.me.uk> | 2018-04-01 21:14:46 +0100 |
commit | 76abcd91020a70f9b90a0b0748b0128efaebddf9 (patch) | |
tree | 825d7024611273d467ab3f15ab609a25a1aeedde /lib/MGA/DrakISO/BuildRoot.pm | |
parent | ee01aca88ae9db68ef97360ba5cad10e5a1e5141 (diff) | |
download | drakiso-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.pm | 3 |
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 . '/' . $_); } |