xdg-utils.eclass: Mark 2 local variables with 'local'.
authorArfrever Frehtes Taifersar Arahesis <Arfrever@Apache.Org>
Thu, 15 Aug 2019 19:52:52 +0000 (19:52 +0000)
committerMike Gilbert <floppym@gentoo.org>
Fri, 16 Aug 2019 17:02:30 +0000 (13:02 -0400)
Signed-off-by: Arfrever Frehtes Taifersar Arahesis <Arfrever@Apache.Org>
Signed-off-by: Mike Gilbert <floppym@gentoo.org>
eclass/xdg-utils.eclass

index f5121830d88889dbc406bbbdb113b0253ba34b6f..68c15e55c351f3cc1b3af9b58bf9a9aad3542a74 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 2004-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 # @ECLASS: xdg-utils.eclass
@@ -85,7 +85,7 @@ xdg_icon_cache_update() {
        fi
 
        ebegin "Updating icons cache"
-       local retval=0
+       local dir f retval=0
        local fails=( )
        for dir in "${EROOT%/}"/usr/share/icons/*
        do