1 |
commit: 24a688688e75e737f45edd668883fa5ee672a474 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Sep 24 14:32:41 2022 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Sep 27 20:28:00 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=24a68868 |
7 |
|
8 |
unpacker.eclass: Use lowercase in unpacker_src_uri_depends |
9 |
|
10 |
Transform the URIs to lowercase in unpacker_src_uri_depends() for |
11 |
consistency with the behavior of _unpacker(). |
12 |
|
13 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
14 |
|
15 |
eclass/unpacker.eclass | 3 ++- |
16 |
1 file changed, 2 insertions(+), 1 deletion(-) |
17 |
|
18 |
diff --git a/eclass/unpacker.eclass b/eclass/unpacker.eclass |
19 |
index 482cf141ee1d..e07c25d0ffa9 100644 |
20 |
--- a/eclass/unpacker.eclass |
21 |
+++ b/eclass/unpacker.eclass |
22 |
@@ -509,7 +509,8 @@ unpacker_src_uri_depends() { |
23 |
fi |
24 |
|
25 |
for uri in "$@" ; do |
26 |
- case ${uri} in |
27 |
+ local m=${uri,,} |
28 |
+ case ${m} in |
29 |
*.cpio.*|*.cpio) |
30 |
d="app-arch/cpio" ;; |
31 |
*.rar|*.RAR) |