summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwurblzap%gmail.com <>2006-02-07 18:22:25 +0100
committerwurblzap%gmail.com <>2006-02-07 18:22:25 +0100
commitd9c4143562bf8e887684b9ea56b49dc6f682db4d (patch)
tree851adc44a150e45fdf2fc7f842f04ac6585d0fc5
parent6210108a551098485b101a3e6ecb78bab2ba3b74 (diff)
downloadbugzilla-d9c4143562bf8e887684b9ea56b49dc6f682db4d.tar.gz
bugzilla-d9c4143562bf8e887684b9ea56b49dc6f682db4d.tar.xz
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
-rwxr-xr-xshowdependencygraph.cgi4
1 files changed, 2 insertions, 2 deletions
diff --git a/showdependencygraph.cgi b/showdependencygraph.cgi
index 8f94aa918..e97af975b 100755
--- a/showdependencygraph.cgi
+++ b/showdependencygraph.cgi
@@ -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;