summaryrefslogtreecommitdiff
path: root/sys-fs
diff options
context:
space:
mode:
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