aboutsummaryrefslogtreecommitdiff
path: root/man
diff options
context:
space:
mode:
authorDaniel M. Weeks <dan@danweeks.net>2020-11-11 12:27:15 -0500
committerZac Medico <zmedico@gentoo.org>2021-01-09 19:19:10 -0800
commita362242c8a4e9e44c17c3d284dd2dbfc14e59635 (patch)
treee61c8550494ab37e987a46ca53c8cac9d7afe1c3 /man
parent_Retry: Use ensure_future for self._current_task (diff)
downloadportage-a362242c8a4e9e44c17c3d284dd2dbfc14e59635.tar.gz
portage-a362242c8a4e9e44c17c3d284dd2dbfc14e59635.tar.bz2
portage-a362242c8a4e9e44c17c3d284dd2dbfc14e59635.zip
Fix varexpand, splitting in fetch
Performing variable expansion after splitting prevents expanding a variable to an unquoted form: Given VAR="a b c": "echo \${VAR}" produces ['echo', 'a b c'] It should be possible for a user to control quoting such that: "echo \"\${VAR}\"" produces ['echo', 'a b c'] "echo \${VAR}" produces ['echo', 'a', 'b', 'c'] Reordering splitting and variable expansion fixes this and mirrors the order used in _start_gpg_proc of ManifestTask. Signed-off-by: Daniel M. Weeks <dan@danweeks.net> Signed-off-by: Zac Medico <zmedico@gentoo.org>
Diffstat (limited to 'man')
0 files changed, 0 insertions, 0 deletions