From 83dfc8473d85e66f8b2593ff35b738f3028331d7 Mon Sep 17 00:00:00 2001 From: zzyyyl Date: Wed, 8 Mar 2023 23:31:47 +0800 Subject: [PATCH] =?UTF-8?q?chore:=20=E4=BF=AE=E5=A4=8D=E6=9F=90=E4=BA=9B?= =?UTF-8?q?=E6=83=85=E5=86=B5=E4=B8=8B=20maadeps-download.py=20=E6=8A=9B?= =?UTF-8?q?=E5=BC=82=E5=B8=B8=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- maadeps-download.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/maadeps-download.py b/maadeps-download.py index 8481f23f3a..3694ebcbda 100644 --- a/maadeps-download.py +++ b/maadeps-download.py @@ -94,9 +94,10 @@ def retry_urlopen(*args, **kwargs): def main(): - target_triplet = detect_host_triplet() if len(sys.argv) == 2: target_triplet = sys.argv[1] + else: + target_triplet = detect_host_triplet() print("about to download prebuilt dependency libraries for", target_triplet) if len(sys.argv) == 1: print(f"to specify another triplet, run `{sys.argv[0]} `")