]> 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:56 +0000 (17:22 +0000)
committerwurblzap%gmail.com <>
Tue, 7 Feb 2006 17:22:56 +0000 (17:22 +0000)
Patch by Marc Schumann <wurblzap@gmail.com>,
r=LpSolit, a=justdave

showdependencygraph.cgi

index b6739d32eabf376704c260b2e38651e0dd03f251..5fc794e9b2a6f632f75297b0061d7677723335ac 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;