1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-05-10 08:55:02 +00:00

Run i18n.sh in gen-tarball.py.

This commit is contained in:
Jiaqiang Xu 2015-05-12 18:18:58 +08:00
parent 8d7950ee22
commit 28c325eeae

View File

@ -149,9 +149,9 @@ def main():
if run('tar xf %s' % tmp_tarball) != 0:
error('failed to uncompress the tarball')
# seahub_dir = os.path.join(tmpdir, 'seahub-%s' % version)
# if run('./i18n.sh compile-all', cwd=seahub_dir) != 0:
# error('failed to compile messages')
seahub_dir = os.path.join(tmpdir, 'seahub-%s' % version)
if run('./i18n.sh compile-all', cwd=seahub_dir) != 0:
error('failed to compile messages')
with open(os.path.join(seahub_dir, 'latest_commit'), 'w') as fp:
fp.write(latest_commit_info)