X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Flib%2Fcross.cc;h=0bcb31e3e78e99eeb5f7a5d7628142a51a47a642;hb=2ec879dfc354c1aa95f78e9f264f2487fd2688ae;hp=29591c69f251cc9fd65de945e2e4e80ceab7f3be;hpb=65274489101d5b5c503ea94d61d7ac5eb1372636;p=dcpomatic.git diff --git a/src/lib/cross.cc b/src/lib/cross.cc index 29591c69f..0bcb31e3e 100644 --- a/src/lib/cross.cc +++ b/src/lib/cross.cc @@ -155,12 +155,10 @@ boost::filesystem::path shared_path () { #ifdef DCPOMATIC_LINUX -#ifdef DCPOMATIC_DEBUG char const * p = getenv ("DCPOMATIC_LINUX_SHARE_PREFIX"); if (p) { return p; } -#endif return boost::filesystem::canonical (LINUX_SHARE_PREFIX); #endif #ifdef DCPOMATIC_WINDOWS @@ -171,7 +169,7 @@ shared_path () return path.parent_path(); #endif #ifdef DCPOMATIC_OSX - return app_contents(); + return app_contents() / "Resources"; #endif }