aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSheng Yu <syu.os@protonmail.com>2022-07-17 19:00:14 -0400
committerSam James <sam@gentoo.org>2022-07-18 20:41:57 +0000
commit158ff662921150011fdd9929e8e7d5f4be946a5d (patch)
tree73bac2a77f86b12d66b20ec1e1688c1abe963906 /bin/quickpkg
parentebuild.5: update modified date (diff)
downloadportage-158ff662921150011fdd9929e8e7d5f4be946a5d.tar.gz
portage-158ff662921150011fdd9929e8e7d5f4be946a5d.tar.bz2
portage-158ff662921150011fdd9929e8e7d5f4be946a5d.zip
quickpkg: Fix incorrect BINPKG_COMPRESS_FLAGS split.
Bug: https://bugs.gentoo.org/857933 Signed-off-by: Sheng Yu <syu.os@protonmail.com> Closes: https://github.com/gentoo/portage/pull/857 Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'bin/quickpkg')
-rwxr-xr-xbin/quickpkg5
1 files changed, 1 insertions, 4 deletions
diff --git a/bin/quickpkg b/bin/quickpkg
index b4ad43376..773c1c07e 100755
--- a/bin/quickpkg
+++ b/bin/quickpkg
@@ -167,10 +167,7 @@ def quickpkg_atom(options, infos, arg, eout):
% (binpkg_compression, missing_package)
)
return 1
- cmd = [
- varexpand(x, mydict=settings)
- for x in shlex_split(compression["compress"])
- ]
+ cmd = shlex_split(varexpand(compression["compress"], mydict=settings))
# Filter empty elements that make Popen fail
cmd = [x for x in cmd if x != ""]
with open(binpkg_tmpfile, "wb") as fobj: