Skip to content

Commit

Permalink
Bug 755786 - fatal: Cannot open 'graph_legend': No such file or direc…
Browse files Browse the repository at this point in the history
…tory

For the graph_legend also a file definition is created although it is a generated file and therefore it should be excluded as well.
(Problem occurs with any command that is used in FILE_VERSION_FILTER)
  • Loading branch information
albert-github committed Sep 29, 2015
1 parent 51ee1b0 commit 08cf278
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/filedef.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1737,7 +1737,8 @@ bool FileDef::isDocumentationFile() const
void FileDef::acquireFileVersion()
{
QCString vercmd = Config_getString("FILE_VERSION_FILTER");
if (!vercmd.isEmpty() && !m_filePath.isEmpty() && m_filePath!="generated")
if (!vercmd.isEmpty() && !m_filePath.isEmpty() &&
m_filePath!="generated" && m_filePath!="graph_legend")
{
msg("Version of %s : ",m_filePath.data());
QCString cmd = vercmd+" \""+m_filePath+"\"";
Expand Down

0 comments on commit 08cf278

Please sign in to comment.