summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilliam Hubbs <williamh@gentoo.org>2017-10-03 12:54:00 -0500
committerWilliam Hubbs <williamh@gentoo.org>2017-10-03 12:54:00 -0500
commit3fd785816fc088c925695886d18d67c9a7894a45 (patch)
treea91d369b586a85cfa36a54f6abbaa3fbebe39a45 /sys-apps/baselayout
parentsys-apps/baselayout: 2.4.1-r2: fix tmpfs warning (diff)
downloadgentoo-3fd785816fc088c925695886d18d67c9a7894a45.tar.gz
gentoo-3fd785816fc088c925695886d18d67c9a7894a45.tar.bz2
gentoo-3fd785816fc088c925695886d18d67c9a7894a45.zip
sys-apps/baselayout: add more local variables
Package-Manager: Portage-2.3.8, Repoman-2.3.3
Diffstat (limited to 'sys-apps/baselayout')
-rw-r--r--sys-apps/baselayout/baselayout-2.4.1-r2.ebuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys-apps/baselayout/baselayout-2.4.1-r2.ebuild b/sys-apps/baselayout/baselayout-2.4.1-r2.ebuild
index 2d2293456f95..d137c15e5274 100644
--- a/sys-apps/baselayout/baselayout-2.4.1-r2.ebuild
+++ b/sys-apps/baselayout/baselayout-2.4.1-r2.ebuild
@@ -224,7 +224,7 @@ pkg_postinst() {
if use kernel_linux; then
mkdir -p "${EROOT}"run
- local found
+ local found fstype mountpoint
while read -r _ mountpoint fstype _; do
[[ ${mountpoint} = /run ]] && [[ ${fstype} = tmpfs ]] && found=1
done < "${ROOT}"proc/mounts