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


git-svn-id: svn://10.0.0.236/trunk@189298 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
wurblzap%gmail.com
2006-02-07 09:22:56 +00:00
parent 9bf3e41a6b
commit d8803074aa

View File

@@ -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;