From 8738111177182ae0da1eb606c0d941c2eb114764 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Wed, 7 Dec 2011 18:29:04 +0000 Subject: (floppies) minor perl_checker cleanup --- perl-install/detect_devices.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/perl-install/detect_devices.pm b/perl-install/detect_devices.pm index a7ca9644b..5bf5bd366 100644 --- a/perl-install/detect_devices.pm +++ b/perl-install/detect_devices.pm @@ -54,7 +54,7 @@ sub floppies { require modules; state @fds; state $legacy_already_detected; - if (arch =~ /mips|arm/) { + if (arch() =~ /mips|arm/) { $o_not_detect_legacy_floppies = 1; } if (!$o_not_detect_legacy_floppies && !$legacy_already_detected) { -- cgit v1.2.1