summarylogtreecommitdiffstats
path: root/exepath.diff
blob: bf135fec642e23edc235e257be0da7a9087e9720 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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
 }