summarylogtreecommitdiffstats
path: root/exepath.diff
diff options
context:
space:
mode:
authorBartłomiej Piotrowski2018-01-06 21:58:50 +0100
committerBartłomiej Piotrowski2018-01-06 21:58:50 +0100
commitf2b38d9ad0df433e4bd30520a9c450241e190620 (patch)
tree7177a1b0173392871822013ebee14f1f7fd4f5c3 /exepath.diff
downloadaur-f2b38d9ad0df433e4bd30520a9c450241e190620.tar.gz
Import from official repositories
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
+ }
+