From d9c4143562bf8e887684b9ea56b49dc6f682db4d Mon Sep 17 00:00:00 2001 From: "wurblzap%gmail.com" <> Date: Tue, 7 Feb 2006 17:22:25 +0000 Subject: Bug 312304: Graphviz installation for Bugzilla doesn't work if spaces are in the path to dot.exe. Patch by Marc Schumann , r=LpSolit, a=justdave --- showdependencygraph.cgi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'showdependencygraph.cgi') 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 ; 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 ; close DOT; -- cgit v1.2.3-24-g4f1b