Try again to fix OS X resource directory location.
[dcpomatic.git] / src / lib / cross.cc
index 29591c69f251cc9fd65de945e2e4e80ceab7f3be..0bcb31e3e78e99eeb5f7a5d7628142a51a47a642 100644 (file)
@@ -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 
 }