From: wurblzap%gmail.com <> Date: Tue, 7 Feb 2006 17:22:56 +0000 (+0000) Subject: Bug 312304: Graphviz installation for Bugzilla doesn't work if spaces are in the... X-Git-Tag: bugzilla-2.20.1~11 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d23273d87211acbdcf50eddd5b89ba62dc331d8a;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 b6739d32ea..5fc794e9b2 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;