From ccaf82a249d988a9192034b5afa33b754aefd379 Mon Sep 17 00:00:00 2001 From: "mkanat%bugzilla.org" <> Date: Fri, 4 Sep 2009 21:08:05 +0000 Subject: Bug 224588: Unify ($^O =~ /MSWin/) checks (always use ON_WINDOWS) Patch by Max Kanat-Alexander r=LpSolit, a=LpSolit --- showdependencygraph.cgi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'showdependencygraph.cgi') diff --git a/showdependencygraph.cgi b/showdependencygraph.cgi index 300c36c09..9b3437ebc 100755 --- a/showdependencygraph.cgi +++ b/showdependencygraph.cgi @@ -267,7 +267,7 @@ if ($webdotbase =~ /^https?:/) { close $pngfh; # On Windows $pngfilename will contain \ instead of / - $pngfilename =~ s|\\|/|g if $^O eq 'MSWin32'; + $pngfilename =~ s|\\|/|g if ON_WINDOWS; # Under mod_perl, pngfilename will have an absolute path, and we # need to make that into a relative path. -- cgit v1.2.3-24-g4f1b