graphviz.render.windows: need to return with the whole path in case

graphivz directory is not in PATH
db4
Björn Lindqvist 2014-10-03 13:40:39 +02:00 committed by John Benediktsson
parent 12862dd313
commit 527318be63
1 changed files with 2 additions and 3 deletions

View File

@ -18,6 +18,5 @@ IN: graphviz.render.windows
] map concat ; ] map concat ;
M: windows default-graphviz-program ( -- path/f ) M: windows default-graphviz-program ( -- path/f )
graphviz-install-directories graphviz-install-directories standard-layouts
standard-layouts [ ".exe" append ] map [ ".exe" append find-in-applications ] with map sift ?first ;
[ find-in-applications ] with find nip ;