• [gentoo-dev] [PATCH 05/15] unpacker.eclass: Use bash substitution inste

    From =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?@21:1/5 to All on Sun Sep 25 20:30:02 2022
    Signed-off-by: Michał Górny <mgorny@gentoo.org>
    ---
    eclass/unpacker.eclass | 2 +-
    1 file changed, 1 insertion(+), 1 deletion(-)

    diff --git a/eclass/unpacker.eclass b/eclass/unpacker.eclass
    index 915a31c86437..482cf141ee1d 100644
    --- a/eclass/unpacker.eclass
    +++ b/eclass/unpacker.eclass
    @@ -389,7 +389,7 @@ _unpacker() {
    [[ $# -eq 1 ]] || die "Usage: ${FUNCNAME} <file>"

    local a=$1
    - local m=$(echo "${a}" | tr '[:upper:]' '[:lower:]')
    + local m=${a,,}
    a=$(find_unpackable_file "${a}")

    # first figure out the decompression method
    --
    2.37.3

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)