Build fix for Debian 8.
authorCarl Hetherington <cth@carlh.net>
Wed, 10 Jun 2015 14:08:11 +0000 (15:08 +0100)
committerCarl Hetherington <cth@carlh.net>
Wed, 10 Jun 2015 14:08:11 +0000 (15:08 +0100)
cscript

diff --git a/cscript b/cscript
index 0ed34751cc3462701215600f6b028397d8236c7e..9981f737fc29ff0d1ffb332d963e714a5e4ac51b 100644 (file)
--- a/cscript
+++ b/cscript
@@ -282,7 +282,7 @@ def package_debian(target, cpu, version):
     target.set('CDIST_CONFIGURE', '"' + configure_options(target) + '"')
     if target.debug:
         target.set('CDIST_DEBUG_PACKAGE', '--dbg-package=dcpomatic-dbg')
-    if target.version == '15.04':
+    if target.version == '15.04' or target.version == '8':
         target.set('CDIST_LOCALE_PREFIX', '/usr/share/locale')
     else:
         target.set('CDIST_LOCALE_PREFIX', '/usr/local/share/locale')