mirror of
git://github.com/kovidgoyal/calibre.git
synced 2025-12-16 01:36:04 +01:00
build-calibre dir layout changed slightly
This commit is contained in:
parent
063c43e871
commit
9445fae589
1 changed files with 4 additions and 1 deletions
|
|
@ -30,7 +30,10 @@ def build_single(which, bitness, shutdown=True):
|
|||
dist = os.path.join(build_calibre, 'build', which)
|
||||
if bitness:
|
||||
dist = os.path.join(dist, bitness)
|
||||
dist = os.path.join(dist, 'dist')
|
||||
for q in 'dist sw/dist'.split():
|
||||
if os.path.exists(os.path.join(dist, q)):
|
||||
dist = os.path.join(dist, q)
|
||||
break
|
||||
for x in os.listdir(dist):
|
||||
print(x)
|
||||
dest = os.path.join(base, 'dist', x)
|
||||
|
|
|
|||
Loading…
Reference in a new issue