mirror of
https://github.com/kiwix/kiwix-build.git
synced 2025-09-24 04:53:29 -04:00
Keep the symlinks.
It seems that shutil.copytree on travis fails to copy symlinks to directory. It is probably due to last travis changes. Let's keep the symlinks as they are.
This commit is contained in:
parent
e43e502cb7
commit
e76ca14d63
@ -377,7 +377,7 @@ class KiwixAndroid(Dependency):
|
||||
|
||||
def _configure(self, context):
|
||||
if not os.path.exists(self.build_path):
|
||||
shutil.copytree(self.source_path, self.build_path)
|
||||
shutil.copytree(self.source_path, self.build_path, symlinks=True)
|
||||
try:
|
||||
shutil.rmtree(pj(self.build_path, 'kiwixlib', 'src', 'main'))
|
||||
except FileNotFoundError:
|
||||
|
Loading…
x
Reference in New Issue
Block a user