summaryrefslogtreecommitdiff
path: root/dev-python/async-timeout/async-timeout-4.0.3.ebuild
diff options
context:
space:
mode:
authorUlrich Müller <ulm@gentoo.org>2025-05-12 17:39:49 +0200
committerUlrich Müller <ulm@gentoo.org>2025-05-14 10:12:32 +0200
commit12508812d0cfbe29462f067d26b4abb2bf27e592 (patch)
treee71b59ba231e241eb504e83c2bfef763e7e71361 /dev-python/async-timeout/async-timeout-4.0.3.ebuild
parent405edea2395035ea88db4a6f6818e135ec8d6639 (diff)
downloadgentoo-12508812d0cfbe29462f067d26b4abb2bf27e592.tar.gz
gentoo-12508812d0cfbe29462f067d26b4abb2bf27e592.tar.bz2
gentoo-12508812d0cfbe29462f067d26b4abb2bf27e592.zip
edo.eclass: Fix two issues with edo() output
This updates the edo function to behave similar to its possible implementation in the package manager for EAPI 9: - Backslash-escaping (as einfo does via "echo -e") is not wanted. - Arguments should be printed in a quoted format that could be reused as shell input. We quote arguments using the "@Q" operator of Bash parameter expansion, but avoid excessive quoting by testing each argument for shell metacharacters. The resulting output should be very similar to that of the trace obtained with "set -x". Note that the @Q operator did not exist in Bash 4.2, therefore arguments are printed literally in EAPI 7. Bug: https://bugs.gentoo.org/744880#c13 Suggested-by: Eli Schwartz <eschwartz@gentoo.org> Reviewed-by: Eli Schwartz <eschwartz@gentoo.org> Signed-off-by: Ulrich Müller <ulm@gentoo.org>
Diffstat (limited to 'dev-python/async-timeout/async-timeout-4.0.3.ebuild')
0 files changed, 0 insertions, 0 deletions