mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
build-calibre dir layout changed slightly
This commit is contained in:
parent
063c43e871
commit
9445fae589
@ -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…
x
Reference in New Issue
Block a user