From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 225D515808D for ; Sat, 23 Apr 2022 02:10:05 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id A1BEDE087A; Sat, 23 Apr 2022 02:10:03 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id D649FE087A for ; Sat, 23 Apr 2022 02:10:01 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id AE51E341AA1 for ; Sat, 23 Apr 2022 02:10:00 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id CF11935A for ; Sat, 23 Apr 2022 02:09:58 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1650679556.c2f0770f1e07112022c3efab29bde481ff0f2597.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-db/myodbc/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-db/myodbc/myodbc-8.0.27-r1.ebuild dev-db/myodbc/myodbc-8.0.27.ebuild X-VCS-Directories: dev-db/myodbc/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: c2f0770f1e07112022c3efab29bde481ff0f2597 X-VCS-Branch: master Date: Sat, 23 Apr 2022 02:09:58 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 46e610e3-8f35-4299-9d95-2b3b6f029561 X-Archives-Hash: 46074e985d51ff6ddf6a4d8915014912 commit: c2f0770f1e07112022c3efab29bde481ff0f2597 Author: Sam James gentoo org> AuthorDate: Sat Apr 23 02:05:56 2022 +0000 Commit: Sam James gentoo org> CommitDate: Sat Apr 23 02:05:56 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c2f0770f dev-db/myodbc: fix ROOT check in pkg_postinst With EAPI 7+, ROOT and others will be blank (not /). Signed-off-by: Sam James gentoo.org> dev-db/myodbc/{myodbc-8.0.27.ebuild => myodbc-8.0.27-r1.ebuild} | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/dev-db/myodbc/myodbc-8.0.27.ebuild b/dev-db/myodbc/myodbc-8.0.27-r1.ebuild similarity index 99% rename from dev-db/myodbc/myodbc-8.0.27.ebuild rename to dev-db/myodbc/myodbc-8.0.27-r1.ebuild index 21745e0ba5ee..7689549feac7 100644 --- a/dev-db/myodbc/myodbc-8.0.27.ebuild +++ b/dev-db/myodbc/myodbc-8.0.27-r1.ebuild @@ -92,8 +92,7 @@ multilib_src_install_all() { } pkg_config() { - - [ "${ROOT}" != "/" ] && \ + [ -n "${ROOT}" ] && \ die 'Sorry, non-standard ROOT setting is not supported :-(' local msg='MySQL ODBC driver'