icecat-i18n: local can only be used in functions.

This commit is contained in:
Juan RP 2015-09-06 08:35:48 +02:00
parent 7732188276
commit 6378bed4cc
1 changed files with 3 additions and 3 deletions

View File

@ -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