commit: 5e620359cc0d9e80a89626ee70f19c8fcb95f0e2
Author: Kerin Millar <kfm <AT> plushkava <DOT> net>
AuthorDate: Mon Jan 5 21:52:43 2026 +0000
Commit: Kerin Millar <kfm <AT> plushkava <DOT> net>
CommitDate: Mon Jan 5 21:52:43 2026 +0000
URL: https://gitweb.gentoo.org/proj/locale-gen.git/commit/?id=5e620359
Interpolate the $action variable in install_archive()
Rather than supply a list to print, which some readers might find odd.
Signed-off-by: Kerin Millar <kfm <AT> plushkava.net>
locale-gen | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/locale-gen b/locale-gen
index 3762076..4ab0150 100644
--- a/locale-gen
+++ b/locale-gen
@@ -593,7 +593,7 @@ sub install_archive ($src_path, $dst_path,
$may_reset_labels) {
if ($has_seclabels && $has_archive) {
my $action = 'copying the security context of the previous
archive';
if (can_run('chcon')) {
- print ucfirst $action, " ...\n";
+ print ucfirst "$action ...\n";
copy_security_context($dst_path, $interim_path);
} else {
print_warning("Not $action because chcon(1) is
unavailable.\n");
@@ -609,7 +609,7 @@ sub install_archive ($src_path, $dst_path,
$may_reset_labels) {
if ($has_seclabels && ! $has_archive && $may_reset_labels) {
my $action = 'restoring the default security context of the
archive';
if (can_run('restorecon')) {
- print ucfirst $action, " ...\n";
+ print ucfirst "$action ...\n";
run('restorecon', '-Fmv', '--', $dst_path);
} else {
print_warning("Not $action because restorecon(8) is
unavailable.\n");