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):
|
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:
|
||||||
|
|
Loading…
Reference in New Issue