diff options
author | Zac Medico <zmedico@gentoo.org> | 2020-07-12 22:20:39 -0700 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2020-07-12 22:21:17 -0700 |
commit | 25e360ca5584fd0f366f13c2ffc3233010accd89 (patch) | |
tree | 95bf6f4392df99a7c56d767967a5ed2d973e9804 /bin | |
parent | man/ebuild.5: Fix $P and $PN example (diff) | |
download | portage-25e360ca5584fd0f366f13c2ffc3233010accd89.tar.gz portage-25e360ca5584fd0f366f13c2ffc3233010accd89.tar.bz2 portage-25e360ca5584fd0f366f13c2ffc3233010accd89.zip |
quickpkg: split tokens in BINPKG_COMPRESS_FLAGS
Signed-off-by: Zac Medico <zmedico@gentoo.org>
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/quickpkg | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/quickpkg b/bin/quickpkg index df8c1a8e8..c4ff198b8 100755 --- a/bin/quickpkg +++ b/bin/quickpkg @@ -137,7 +137,7 @@ def quickpkg_atom(options, infos, arg, eout): missing_package = compression["package"] eout.eerror("File compression unsupported %s. Missing package: %s" % (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: |