aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Müller <ulm@gentoo.org>2015-02-16 19:24:07 +0100
committerUlrich Müller <ulm@gentoo.org>2015-02-16 19:24:07 +0100
commita729d720be51c6f24a5c1610510bfa3f2b83c245 (patch)
treed1863ac7e84e5a52a2bd20f2f6f3515b9b944648
parentFix random SonameOrChoicesTestCase failure (diff)
downloadportage-a729d720be51c6f24a5c1610510bfa3f2b83c245.tar.gz
portage-a729d720be51c6f24a5c1610510bfa3f2b83c245.tar.bz2
portage-a729d720be51c6f24a5c1610510bfa3f2b83c245.zip
bin/eapi.sh: Invert condition in ___eapi_unpack_supports_absolute_paths().
This should return true starting with EAPI 6, and false for EAPI 5 and earlier.
-rw-r--r--bin/eapi.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/eapi.sh b/bin/eapi.sh
index f1c677e67..528e6f208 100644
--- a/bin/eapi.sh
+++ b/bin/eapi.sh
@@ -175,7 +175,7 @@ ___eapi_unpack_is_case_sensitive() {
}
___eapi_unpack_supports_absolute_paths() {
- [[ ${1-${EAPI-0}} =~ ^(0|1|2|3|4|4-python|4-slot-abi|5|5-hdepend)$ ]]
+ [[ ! ${1-${EAPI-0}} =~ ^(0|1|2|3|4|4-python|4-slot-abi|5|5-hdepend)$ ]]
}
___eapi_die_can_respect_nonfatal() {