Commit d9c41435 authored by wurblzap%gmail.com's avatar wurblzap%gmail.com

Bug 312304: Graphviz installation for Bugzilla doesn't work if spaces are in the path to dot.exe.

Patch by Marc Schumann <wurblzap@gmail.com>, r=LpSolit, a=justdave
parent 6210108a
......@@ -232,7 +232,7 @@ if ($webdotbase =~ /^https?:/) {
SUFFIX => '.png',
DIR => $webdotdir);
binmode $pngfh;
open(DOT, "$webdotbase -Tpng $filename|");
open(DOT, "\"$webdotbase\" -Tpng $filename|");
binmode DOT;
print $pngfh $_ while <DOT>;
close DOT;
......@@ -251,7 +251,7 @@ if ($webdotbase =~ /^https?:/) {
SUFFIX => '.map',
DIR => $webdotdir);
binmode $mapfh;
open(DOT, "$webdotbase -Tismap $filename|");
open(DOT, "\"$webdotbase\" -Tismap $filename|");
binmode DOT;
print $mapfh $_ while <DOT>;
close DOT;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment