From: wurblzap%gmail.com <> Date: Tue, 7 Feb 2006 17:22:25 +0000 (+0000) Subject: Bug 312304: Graphviz installation for Bugzilla doesn't work if spaces are in the... X-Git-Tag: bugzilla-2.22rc1~13 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d9c4143562bf8e887684b9ea56b49dc6f682db4d;p=thirdparty%2Fbugzilla.git 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 --- diff --git a/showdependencygraph.cgi b/showdependencygraph.cgi index 8f94aa918a..e97af975bd 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;