Commit 74142375 authored by Guillaume Lazzara's avatar Guillaume Lazzara Committed by Roland Levillain
Browse files

demo/viewer/runner.cc: Fix libexec path.


Signed-off-by: Roland Levillain's avatarRoland Levillain <roland@lrde.epita.fr>
parent c551ece5
2012-05-23 Guillaume Lazzara <z@lrde.epita.fr>
* demo/viewer/runner.cc: Fix libexec path.
2012-05-22 Guillaume Lazzara <z@lrde.epita.fr>
* demo/viewer/runner.cc: Make xml2doc binary lookup more robust.
......
......@@ -43,9 +43,9 @@ QString get_pathto(const QString& file,
return SCRIBO_LOCAL_DEMODIR "/" + localdirsuffix;
// Installed in a specific path ?
f.setFileName(SCRIBO_PREFIX_LIBEXECDIR "/" + file);
f.setFileName(SCRIBO_PREFIX_LIBEXECDIR "/scribo/" + file);
if (f.exists())
return SCRIBO_PREFIX_LIBEXECDIR;
return SCRIBO_PREFIX_LIBEXECDIR "/scribo/";
// Installed in a specific path but moved elsewhere ?
QDir dir(QCoreApplication::applicationDirPath());
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment