diff options
| author | Carl Hetherington <cth@carlh.net> | 2015-05-13 23:44:41 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2015-05-13 23:44:41 +0100 |
| commit | edecc975384bfef50418e3fb77e5c4629207ec08 (patch) | |
| tree | f82d171743aad7bb7144396533ce387946b52c41 /src | |
| parent | 05c37bfdb86be26497d5baa448a0cbda20e33bed (diff) | |
Fix test reference after subtitle fixes.
Diffstat (limited to 'src')
| -rw-r--r-- | src/lib/cross.cc | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/lib/cross.cc b/src/lib/cross.cc index 9894d885f..29591c69f 100644 --- a/src/lib/cross.cc +++ b/src/lib/cross.cc @@ -155,6 +155,12 @@ 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 |
