From d951ddcd0b690f250d5b0872ad76dc43f5f46ab4 Mon Sep 17 00:00:00 2001 From: Moritz Bunkus Date: Fri, 24 Apr 2015 14:44:00 +0200 Subject: [PATCH] installation_check: -a/--all fixen --- scripts/installation_check.pl | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/scripts/installation_check.pl b/scripts/installation_check.pl index 1b645733c..43b290a35 100755 --- a/scripts/installation_check.pl +++ b/scripts/installation_check.pl @@ -71,9 +71,7 @@ if (!defined $check{a} } if ($check{a}) { - foreach my $check (keys %check) { - $check{$check} = 1 unless defined $check{$check}; - } + $check{$_} //= 1 for qw(o d l r); } -- 2.20.1