From 3b12557df8aeab13de5e98a7227307109e6f134a Mon Sep 17 00:00:00 2001 From: Matthieu Gautier Date: Thu, 22 Feb 2018 10:43:06 +0100 Subject: [PATCH] Files in the deps archive must not be absolute path. The archives will be extracted in the right directory. We need to store relative paths. --- travis/compile_all.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/travis/compile_all.py b/travis/compile_all.py index 3f63836..f2e9266 100755 --- a/travis/compile_all.py +++ b/travis/compile_all.py @@ -120,7 +120,7 @@ for target in TARGETS: files_to_archive.append(manifest_file) with tarfile.open(str(BASE_DIR/archive_name), 'w:gz') as tar: for name in files_to_archive: - tar.add(str(name)) + tar.add(str(name), arcname=str(name.relative_to(BASE_DIR))) scp(str(BASE_DIR/archive_name), 'nightlybot@download.kiwix.org:/var/www/tmp.kiwix.org/ci/') run_kiwix_build(target,