]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 312304: Graphviz installation for Bugzilla doesn't work if spaces are in the...
authorwurblzap%gmail.com <>
Tue, 7 Feb 2006 17:22:25 +0000 (17:22 +0000)
committerwurblzap%gmail.com <>
Tue, 7 Feb 2006 17:22:25 +0000 (17:22 +0000)
Patch by Marc Schumann <wurblzap@gmail.com>,
r=LpSolit, a=justdave

showdependencygraph.cgi

index 8f94aa918a0ebf1e05b56da9cd275b52ff37abda..e97af975bdee3914da5e7aa5d178058dca163c9e 100755 (executable)
@@ -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;