commit: ca38032064b6bbcf36604e5c0421eac7533a0243 Author: Sam James <sam <AT> gentoo <DOT> org> AuthorDate: Thu Jun 10 21:02:28 2021 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Thu Jun 10 21:02:39 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ca380320
sys-fs/static-dev: fix ROOT check for EAPI 7 Closes: https://bugs.gentoo.org/795285 Signed-off-by: Sam James <sam <AT> gentoo.org> .../static-dev/{static-dev-0.1-r1.ebuild => static-dev-0.1-r2.ebuild} | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys-fs/static-dev/static-dev-0.1-r1.ebuild b/sys-fs/static-dev/static-dev-0.1-r2.ebuild similarity index 97% rename from sys-fs/static-dev/static-dev-0.1-r1.ebuild rename to sys-fs/static-dev/static-dev-0.1-r2.ebuild index 42c60e497de..ca46b76ab1e 100644 --- a/sys-fs/static-dev/static-dev-0.1-r1.ebuild +++ b/sys-fs/static-dev/static-dev-0.1-r2.ebuild @@ -30,7 +30,7 @@ pkg_pretend() { fi # We also want to not clobber newer devtmpfs setups. - if [[ ${ROOT} == "/" ]] && \ + if [[ -z ${ROOT} ]] && \ ! awk '$2 == "/dev" && $3 == "devtmpfs" { exit 1 }' /proc/mounts ; then abort fi
