From bf74c63131bcbc0c4f680a570ed25548c7cb86b1 Mon Sep 17 00:00:00 2001 From: Natanael Copa Date: Thu, 4 Aug 2016 14:31:32 +0000 Subject: main/u-boot: remove local declarations from global scope busybox 1.25 does not seem to like it --- main/u-boot/APKBUILD | 14 +++++++------- 1 file 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 -- cgit v1.2.3