Fix building of calibre portable installer

This commit is contained in:
Kovid Goyal 2019-09-06 10:52:22 +05:30
parent 0a05d2f578
commit 03929d5959
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -366,7 +366,7 @@ def install_site_py(env):
def build_portable_installer(env): def build_portable_installer(env):
zf = a(j(env.dist, 'calibre-portable-%s.zip.lz' % VERSION)) zf = a(j(env.dist, 'calibre-portable-%s.zip.lz' % VERSION)).replace(os.sep, '/')
usz = env.portable_uncompressed_size or os.path.getsize(zf) usz = env.portable_uncompressed_size or os.path.getsize(zf)
def cc(src, obj): def cc(src, obj):