icecat-i18n: local can only be used in functions.
This commit is contained in:
parent
7732188276
commit
6378bed4cc
|
@ -109,8 +109,8 @@ _languages=(
|
|||
depends="icecat>=${version}"
|
||||
|
||||
for _lang in "${_languages[@]}"; do
|
||||
local _locale=${_lang%% *}
|
||||
local _pkgname=icecat-i18n-${_locale}
|
||||
_locale=${_lang%% *}
|
||||
_pkgname=icecat-i18n-${_locale}
|
||||
|
||||
depends+=" ${_pkgname}>=${version}"
|
||||
distfiles+=" ${GNU_SITE}/gnuzilla/${version}/langpacks/icecat-${version}.${_locale}.langpack.xpi"
|
||||
|
@ -121,7 +121,7 @@ for _lang in "${_languages[@]}"; do
|
|||
done
|
||||
|
||||
_pkgtmpl() {
|
||||
_lang="$1"
|
||||
local _lang="$1"
|
||||
depends="icecat>=${version}"
|
||||
short_desc="IceCat $2 language pack"
|
||||
noarch=yes
|
||||
|
|
Loading…
Reference in New Issue