mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Fix a regression in the previous release that caused some generated resources to be not included in the released source tarball
This commit is contained in:
parent
102427ddb8
commit
f21f1b227b
@ -303,7 +303,7 @@ class Sdist(Command):
|
||||
os.mkdir(tdir)
|
||||
subprocess.check_call('git archive HEAD | tar -x -C ' + tdir, shell=True)
|
||||
for x in open('.gitignore').readlines():
|
||||
if not x.startswith('resources/'):
|
||||
if not x.startswith('/resources/'):
|
||||
continue
|
||||
p = x.strip().replace('/', os.sep)
|
||||
for p in glob.glob(p):
|
||||
|
Loading…
x
Reference in New Issue
Block a user