diff options
author | 2021-06-10 21:02:28 +0000 | |
---|---|---|
committer | 2021-06-10 21:02:39 +0000 | |
commit | ca38032064b6bbcf36604e5c0421eac7533a0243 (patch) | |
tree | 9ba600bc816e74ddaec8d831976f837343efb9eb /sys-fs | |
parent | profiles: last-rite mail-client/etpan-ng (diff) | |
download | gentoo-ca38032064b6bbcf36604e5c0421eac7533a0243.tar.gz gentoo-ca38032064b6bbcf36604e5c0421eac7533a0243.tar.bz2 gentoo-ca38032064b6bbcf36604e5c0421eac7533a0243.zip |
sys-fs/static-dev: fix ROOT check for EAPI 7
Closes: https://bugs.gentoo.org/795285
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'sys-fs')
-rw-r--r-- | sys-fs/static-dev/static-dev-0.1-r2.ebuild (renamed from sys-fs/static-dev/static-dev-0.1-r1.ebuild) | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys-fs/static-dev/static-dev-0.1-r1.ebuild b/sys-fs/static-dev/static-dev-0.1-r2.ebuild index 42c60e497de4..ca46b76ab1e5 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 |