From ad71b3444750599b88cf145af83a1edd16226976 Mon Sep 17 00:00:00 2001 From: Arfrever Frehtes Taifersar Arahesis Date: Wed, 11 Sep 2013 23:22:18 +0200 Subject: [PATCH] EAPI="5-progress": Support case-insensitive matching of extensions in unpack(). --- bin/eapi.sh | 2 +- doc/package/ebuild/eapi/5-progress.docbook | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/bin/eapi.sh b/bin/eapi.sh index 5d5b36d8f..623b89fee 100644 --- a/bin/eapi.sh +++ b/bin/eapi.sh @@ -135,7 +135,7 @@ ___eapi_disallows_helpers_in_global_scope() { } ___eapi_unpack_is_case_sensitive() { - true + [[ ${1-${EAPI}} =~ ^(0|1|2|3|4|4-python|4-slot-abi|5|5-hdepend)$ ]] } # OTHERS diff --git a/doc/package/ebuild/eapi/5-progress.docbook b/doc/package/ebuild/eapi/5-progress.docbook index 5fd623bc0..6493d7e81 100644 --- a/doc/package/ebuild/eapi/5-progress.docbook +++ b/doc/package/ebuild/eapi/5-progress.docbook @@ -53,6 +53,12 @@ dohtml by default additionally installs files with .ico, .svg, .xhtml and .xml extensions. +
+ Case-insensitive matching of extensions in unpack + + unpack matches extensions case-insensitively. + +
Helpers Banned in Global Scope -- 2.26.2