]> git.ipfire.org Git - thirdparty/openwrt.git/commit
scripts: dl_github_archive: fix zstd args passed to tar 24375/head
authorRosen Penev <rosenp@gmail.com>
Sun, 5 Jul 2026 03:30:11 +0000 (20:30 -0700)
committerJonas Jelonek <jelonek.jonas@gmail.com>
Tue, 28 Jul 2026 07:30:22 +0000 (09:30 +0200)
commitdcf33fcbf53947fd0ff4749f8b5df3ad792b8442
tree4f7b6a73fd91ac819f2794b42b68402a78c18193
parent7ea374a4c791267dfc202ce561d7e3423213b50a
scripts: dl_github_archive: fix zstd args passed to tar

The multi-word zstd option '-I zstd -T0 --ultra -20' was appended as a
single argv element. subprocess passes each list element as one argv
entry, so tar received the whole string as one argument and failed to
recognize it. Split into separate '-I' and 'zstd -T0 --ultra -20'
elements so tar correctly interprets the compressor command.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/24375
Signed-off-by: Jonas Jelonek <jelonek.jonas@gmail.com>
scripts/dl_github_archive.py