From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <gentoo-commits+bounces-773243-garchives=archives.gentoo.org@lists.gentoo.org> Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id F1652138A1A for <garchives@archives.gentoo.org>; Mon, 16 Feb 2015 18:54:59 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 92BB8E08A6; Mon, 16 Feb 2015 18:54:58 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 318DBE08A6 for <gentoo-commits@lists.gentoo.org>; Mon, 16 Feb 2015 18:54:58 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id CA9E0340741 for <gentoo-commits@lists.gentoo.org>; Mon, 16 Feb 2015 18:54:56 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 8037411E66 for <gentoo-commits@lists.gentoo.org>; Mon, 16 Feb 2015 18:54:54 +0000 (UTC) From: "Ulrich Müller" <ulm@gentoo.org> To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Ulrich Müller" <ulm@gentoo.org> Message-ID: <1424111047.a729d720be51c6f24a5c1610510bfa3f2b83c245.ulm@gentoo> Subject: [gentoo-commits] proj/portage:master commit in: bin/ X-VCS-Repository: proj/portage X-VCS-Files: bin/eapi.sh X-VCS-Directories: bin/ X-VCS-Committer: ulm X-VCS-Committer-Name: Ulrich Müller X-VCS-Revision: a729d720be51c6f24a5c1610510bfa3f2b83c245 X-VCS-Branch: master Date: Mon, 16 Feb 2015 18:54:54 +0000 (UTC) Precedence: bulk List-Post: <mailto:gentoo-commits@lists.gentoo.org> List-Help: <mailto:gentoo-commits+help@lists.gentoo.org> List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org> List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org> List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org> X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 19af1539-82b4-42ab-ae9f-0bb44f367ef9 X-Archives-Hash: 966ceb403c9927dd230aacc725920a24 commit: a729d720be51c6f24a5c1610510bfa3f2b83c245 Author: Ulrich Müller <ulm <AT> gentoo <DOT> org> AuthorDate: Mon Feb 16 18:24:07 2015 +0000 Commit: Ulrich Müller <ulm <AT> gentoo <DOT> org> CommitDate: Mon Feb 16 18:24:07 2015 +0000 URL: http://sources.gentoo.org/gitweb/?p=proj/portage.git;a=commit;h=a729d720 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. --- bin/eapi.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/eapi.sh b/bin/eapi.sh index f1c677e..528e6f2 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() {