From 7c803ee4805e2ffa3064425e3beb1187351a7bee Mon Sep 17 00:00:00 2001 From: Lucas Moura Belo Date: Mon, 8 Jan 2024 20:34:14 -0300 Subject: [PATCH] ZLib download link update --- python3-android/Android/build_deps.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/python3-android/Android/build_deps.py b/python3-android/Android/build_deps.py index fad2119..ce5cb84 100644 --- a/python3-android/Android/build_deps.py +++ b/python3-android/Android/build_deps.py @@ -141,8 +141,8 @@ def make(self): def build_package(pkg: Package): subprocess.check_call(['curl', '-fLO', pkg.source], cwd=BASE / 'deps') - subprocess.check_call(['ls', '-ls'], cwd=BASE / 'deps') - subprocess.check_call(['tar', '--no-same-owner', '-xf', 'zlib-1.2.12.tar'], cwd=BASE / 'deps') + subprocess.check_call(['ls', '-a'], cwd=BASE / 'deps') + subprocess.check_call(['tar', '--no-same-owner', '-xf', os.path.basename(pkg.source)], cwd=BASE / 'deps') try: saved_env = os.environ.copy()