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:
Matthieu Gautier 2017-09-11 13:24:29 +02:00
parent e43e502cb7
commit e76ca14d63
1 changed files with 1 additions and 1 deletions

View File

@ -377,7 +377,7 @@ class KiwixAndroid(Dependency):
def _configure(self, context): def _configure(self, context):
if not os.path.exists(self.build_path): 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: try:
shutil.rmtree(pj(self.build_path, 'kiwixlib', 'src', 'main')) shutil.rmtree(pj(self.build_path, 'kiwixlib', 'src', 'main'))
except FileNotFoundError: except FileNotFoundError: