1 |
Signed-off-by: Michał Górny <mgorny@g.o> |
2 |
--- |
3 |
eclass/unpacker.eclass | 2 +- |
4 |
1 file changed, 1 insertion(+), 1 deletion(-) |
5 |
|
6 |
diff --git a/eclass/unpacker.eclass b/eclass/unpacker.eclass |
7 |
index 915a31c86437..482cf141ee1d 100644 |
8 |
--- a/eclass/unpacker.eclass |
9 |
+++ b/eclass/unpacker.eclass |
10 |
@@ -389,7 +389,7 @@ _unpacker() { |
11 |
[[ $# -eq 1 ]] || die "Usage: ${FUNCNAME} <file>" |
12 |
|
13 |
local a=$1 |
14 |
- local m=$(echo "${a}" | tr '[:upper:]' '[:lower:]') |
15 |
+ local m=${a,,} |
16 |
a=$(find_unpackable_file "${a}") |
17 |
|
18 |
# first figure out the decompression method |
19 |
-- |
20 |
2.37.3 |