Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Olena
olena
Commits
74142375
Commit
74142375
authored
May 23, 2012
by
Guillaume Lazzara
Committed by
Roland Levillain
Jun 30, 2014
Browse files
demo/viewer/runner.cc: Fix libexec path.
Signed-off-by:
Roland Levillain
<
roland@lrde.epita.fr
>
parent
c551ece5
Changes
2
Hide whitespace changes
Inline
Side-by-side
scribo/ChangeLog
View file @
74142375
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.
...
...
scribo/demo/viewer/runner.cc
View file @
74142375
...
...
@@ -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
());
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment