~cypheon/elfelli

9f2b1e575c1dcb46902da4db24140ed0bfc70f0b — Johann Rudloff 3 years ago 37d7505
Small hack for backwards compatibility with older SCons versions (e.g. 2.3.0).
1 files changed, 4 insertions(+), 0 deletions(-)

M po/SConscript
M po/SConscript => po/SConscript +4 -0
@@ 4,6 4,10 @@ from glob import glob

Import('env')

# Compatibility with earlier SCons versions:
if not hasattr(env, 'MOFiles'):
    env.MOFiles = env.MO

locales = map(lambda str: str[:-3], glob('*.po'))
for locale in locales:
    subdir = '/%s/LC_MESSAGES' % locale