commit:     3fd785816fc088c925695886d18d67c9a7894a45
Author:     William Hubbs <williamh <AT> gentoo <DOT> org>
AuthorDate: Tue Oct  3 17:54:00 2017 +0000
Commit:     William Hubbs <williamh <AT> gentoo <DOT> org>
CommitDate: Tue Oct  3 17:54:00 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3fd78581

sys-apps/baselayout: add more local variables

Package-Manager: Portage-2.3.8, Repoman-2.3.3

 sys-apps/baselayout/baselayout-2.4.1-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-apps/baselayout/baselayout-2.4.1-r2.ebuild 
b/sys-apps/baselayout/baselayout-2.4.1-r2.ebuild
index 2d2293456f9..d137c15e527 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

Reply via email to