1 |
Transform the URIs to lowercase in unpacker_src_uri_depends() for |
2 |
consistency with the behavior of _unpacker(). |
3 |
|
4 |
Signed-off-by: Michał Górny <mgorny@g.o> |
5 |
--- |
6 |
eclass/unpacker.eclass | 3 ++- |
7 |
1 file changed, 2 insertions(+), 1 deletion(-) |
8 |
|
9 |
diff --git a/eclass/unpacker.eclass b/eclass/unpacker.eclass |
10 |
index 482cf141ee1d..e07c25d0ffa9 100644 |
11 |
--- a/eclass/unpacker.eclass |
12 |
+++ b/eclass/unpacker.eclass |
13 |
@@ -509,7 +509,8 @@ unpacker_src_uri_depends() { |
14 |
fi |
15 |
|
16 |
for uri in "$@" ; do |
17 |
- case ${uri} in |
18 |
+ local m=${uri,,} |
19 |
+ case ${m} in |
20 |
*.cpio.*|*.cpio) |
21 |
d="app-arch/cpio" ;; |
22 |
*.rar|*.RAR) |
23 |
-- |
24 |
2.37.3 |