summarylogtreecommitdiffstats
path: root/exepath.diff
diff options
context:
space:
mode:
Diffstat (limited to 'exepath.diff')
-rw-r--r--exepath.diff15
1 files changed, 15 insertions, 0 deletions
diff --git a/exepath.diff b/exepath.diff
new file mode 100644
index 000000000000..bf135fec642e
--- /dev/null
+++ b/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
+ }
+