mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-26 06:11:37 +00:00
Bug 312304: Graphviz installation for Bugzilla doesn't work if spaces are in the path to dot.exe.
Patch by Marc Schumann <wurblzap@gmail.com>, r=LpSolit, a=justdave
This commit is contained in:
parent
961761ffa1
commit
6a47e5679b
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user