summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2022-04-23 03:05:56 +0100
committerSam James <sam@gentoo.org>2022-04-23 03:05:56 +0100
commitc2f0770f1e07112022c3efab29bde481ff0f2597 (patch)
tree4fe8f7a770f07cb357167770845f032cb625b728 /dev-db/myodbc
parentsci-libs/gdal: fix Java library installation (diff)
downloadgentoo-c2f0770f1e07112022c3efab29bde481ff0f2597.tar.gz
gentoo-c2f0770f1e07112022c3efab29bde481ff0f2597.tar.bz2
gentoo-c2f0770f1e07112022c3efab29bde481ff0f2597.zip
dev-db/myodbc: fix ROOT check in pkg_postinst
With EAPI 7+, ROOT and others will be blank (not /). Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-db/myodbc')
-rw-r--r--dev-db/myodbc/myodbc-8.0.27-r1.ebuild (renamed from dev-db/myodbc/myodbc-8.0.27.ebuild)3
1 files changed, 1 insertions, 2 deletions
diff --git a/dev-db/myodbc/myodbc-8.0.27.ebuild b/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'