summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--eclass/unpacker.eclass2
1 files changed, 1 insertions, 1 deletions
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