summaryrefslogtreecommitdiff
path: root/Build/source/extra/epstopdf/epstopdf.pl
diff options
context:
space:
mode:
Diffstat (limited to 'Build/source/extra/epstopdf/epstopdf.pl')
-rwxr-xr-xBuild/source/extra/epstopdf/epstopdf.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/Build/source/extra/epstopdf/epstopdf.pl b/Build/source/extra/epstopdf/epstopdf.pl
index 86fc1744e8e..46a541b71a9 100755
--- a/Build/source/extra/epstopdf/epstopdf.pl
+++ b/Build/source/extra/epstopdf/epstopdf.pl
@@ -182,7 +182,7 @@ There is NO WARRANTY, to the extent permitted by law.
END_COPYRIGHT
my $title = "$program $ident\n";
-my $on_windows = $^O =~ /^(MSWin|msys$)";
+my $on_windows = $^O =~ /^(MSWin|msys$)/;
my $on_windows_or_cygwin = $on_windows || $^O eq "cygwin";
### ghostscript command name