From 1fcb0a9403500bc26951fb164bc40faffc836672 Mon Sep 17 00:00:00 2001 From: Tony Cook Date: Fri, 27 Mar 2020 19:39:25 +1100 Subject: [PATCH] cygwin can use an empty extension for exes too --- lib/Imager/Probe.pm | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/Imager/Probe.pm b/lib/Imager/Probe.pm index ac6d49be..3c0c93ab 100644 --- a/lib/Imager/Probe.pm +++ b/lib/Imager/Probe.pm @@ -89,6 +89,9 @@ sub is_exe { if ($^O eq 'MSWin32') { push @exe_suffix, qw/.bat .cmd/; } + elsif ($^O eq 'cygwin') { + push @exe_suffix, ""; + } for my $dir (File::Spec->path) { for my $suffix (@exe_suffix) { -- 2.39.5