summaryrefslogtreecommitdiffstats
path: root/showdependencygraph.cgi
diff options
context:
space:
mode:
authormkanat%bugzilla.org <>2009-09-04 23:08:05 +0200
committermkanat%bugzilla.org <>2009-09-04 23:08:05 +0200
commitccaf82a249d988a9192034b5afa33b754aefd379 (patch)
treedba9420d26b014b5afe4e59f3a6010ca93b11152 /showdependencygraph.cgi
parent120fc1b9be07ee44c98a9ec2c5c64568e9ebccbd (diff)
downloadbugzilla-ccaf82a249d988a9192034b5afa33b754aefd379.tar.gz
bugzilla-ccaf82a249d988a9192034b5afa33b754aefd379.tar.xz
Bug 224588: Unify ($^O =~ /MSWin/) checks (always use ON_WINDOWS)
Patch by Max Kanat-Alexander <mkanat@bugzilla.org> r=LpSolit, a=LpSolit
Diffstat (limited to 'showdependencygraph.cgi')
-rwxr-xr-xshowdependencygraph.cgi2
1 files changed, 1 insertions, 1 deletions
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.