diff options
Diffstat (limited to 'libre/luxmark/exepath.diff')
-rw-r--r-- | libre/luxmark/exepath.diff | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/libre/luxmark/exepath.diff b/libre/luxmark/exepath.diff new file mode 100644 index 000000000..bf135fec6 --- /dev/null +++ b/libre/luxmark/exepath.diff @@ -0,0 +1,15 @@ +diff --git a/src/luxmarkapp.cpp b/src/luxmarkapp.cpp +--- a/src/luxmarkapp.cpp ++++ b/src/luxmarkapp.cpp +@@ -90,10 +90,7 @@ + } + exePath = boost::filesystem::path(boost::filesystem::initial_path<boost::filesystem::path>()); + #else +- +- // Look for the directory where Lux executables are +- const boost::filesystem::path luxMarkExe(argv[0]); +- exePath = boost::filesystem::absolute(luxMarkExe).parent_path(); ++ exePath = "/usr/bin"; + #endif + } + |