sys-apps/baselayout: add more local variables
authorWilliam Hubbs <williamh@gentoo.org>
Tue, 3 Oct 2017 17:54:00 +0000 (12:54 -0500)
committerWilliam Hubbs <williamh@gentoo.org>
Tue, 3 Oct 2017 17:54:00 +0000 (12:54 -0500)
Package-Manager: Portage-2.3.8, Repoman-2.3.3

sys-apps/baselayout/baselayout-2.4.1-r2.ebuild

index 2d2293456f956b68e90731654fb9c99f2ef3e84f..d137c15e5274c595565e0878c2f750f5d052739c 100644 (file)
@@ -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