diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2016-08-04 14:31:32 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2016-08-04 14:32:11 +0000 |
commit | bf74c63131bcbc0c4f680a570ed25548c7cb86b1 (patch) | |
tree | 9c25bbbd27999a3f888f10298b58ae143271851e /main/u-boot | |
parent | 8450b7e4e4c242f5edff093d96dfb7f94308fe65 (diff) | |
download | aports-bf74c63131bcbc0c4f680a570ed25548c7cb86b1.tar.bz2 aports-bf74c63131bcbc0c4f680a570ed25548c7cb86b1.tar.xz |
main/u-boot: remove local declarations from global scope
busybox 1.25 does not seem to like it
Diffstat (limited to 'main/u-boot')
-rw-r--r-- | main/u-boot/APKBUILD | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/main/u-boot/APKBUILD b/main/u-boot/APKBUILD index a14c76fd39..45cdc98274 100644 --- a/main/u-boot/APKBUILD +++ b/main/u-boot/APKBUILD @@ -27,11 +27,11 @@ board_configs=" wandboard:wandboard " -local allboards="" +_allboards="" for board_config in $board_configs; do - allboards="$allboards $pkgname-${board_config%%:*}" + _allboards="$_allboards $pkgname-${board_config%%:*}" done -subpackages="$pkgname-all $allboards" +subpackages="$pkgname-all $_allboards" build() { cd "$_srcdir" @@ -61,7 +61,7 @@ package() { all() { pkgdesc="u-boot for all boards (meta package)" - depends="$allboards" + depends="$_allboards" mkdir -p "$subpkgdir"/ } @@ -93,9 +93,9 @@ _split_boards() { } for board_config in $board_configs; do - local board="${board_config%%:*}" - local configs="${board_config#*:}" - eval "${board}() { _split_boards $board ${configs//,/ }; }" + _board="${board_config%%:*}" + _configs="${board_config#*:}" + eval "${_board}() { _split_boards $_board ${_configs//,/ }; }" done md5sums="425a3fa610a7d972e5092a0e92276c70 u-boot-2016.07.tar.bz2 |