projects
/
dcpomatic.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Remove some Linux hacks that I can't see the point of any more.
[dcpomatic.git]
/
src
/
lib
/
cross_linux.cc
diff --git
a/src/lib/cross_linux.cc
b/src/lib/cross_linux.cc
index 0f31c108cda69327f5c7e3a7c2d999afe14aebb7..2d43d38019c7d2697af5fb498b3894be60d7724d 100644
(file)
--- a/
src/lib/cross_linux.cc
+++ b/
src/lib/cross_linux.cc
@@
-101,11
+101,6
@@
cpu_info ()
boost::filesystem::path
resources_path ()
{
boost::filesystem::path
resources_path ()
{
- char* prefix = getenv ("DCPOMATIC_SHARE_PREFIX");
- if (prefix) {
- return boost::filesystem::path(prefix) / "dcpomatic2";
- }
-
return directory_containing_executable().parent_path() / "share" / "dcpomatic2";
}
return directory_containing_executable().parent_path() / "share" / "dcpomatic2";
}