summaryrefslogtreecommitdiffstats
path: root/showdependencygraph.cgi
diff options
context:
space:
mode:
Diffstat (limited to 'showdependencygraph.cgi')
-rwxr-xr-xshowdependencygraph.cgi4
1 files changed, 2 insertions, 2 deletions
diff --git a/showdependencygraph.cgi b/showdependencygraph.cgi
index 8f94aa918..e97af975b 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 <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;