From 6cc72509541404dc0af57bf2b29dfaaa1ee3e1a4 Mon Sep 17 00:00:00 2001 From: Lyndon Brown Date: Wed, 1 Apr 2020 10:58:47 +0100 Subject: rename LB_ARCHITECTURES to LB_ARCHITECTURE this was previously not done in 8b109ffb96282a6dd1aa5d61aa935bcba69c56f1 to keep the renaming simple, but leaving the variable plural is a cause for confusion. since this property is stored in the INI style config/build config file rather than a shell script based one, at the property there is already singular, there was no need for a backwards compatibility hack. Gbp-Dch: Short --- scripts/build/chroot_package-lists | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'scripts/build/chroot_package-lists') diff --git a/scripts/build/chroot_package-lists b/scripts/build/chroot_package-lists index e832ca8e8..735f152c8 100755 --- a/scripts/build/chroot_package-lists +++ b/scripts/build/chroot_package-lists @@ -79,9 +79,9 @@ done for _PACKAGE_ARCHITECTURE in $(Discover_package_architectures "chroot/root/packages.chroot") do # If this is a foreign architecture, append to packages.foreign-architectures - if [ "${_PACKAGE_ARCHITECTURE}" != "${LB_ARCHITECTURES}" ] + if [ "${_PACKAGE_ARCHITECTURE}" != "${LB_ARCHITECTURE}" ] then - Echo_message "Accepting foreign architecture: ${_PACKAGE_ARCHITECTURE}, live image architecture is: ${LB_ARCHITECTURES}" + Echo_message "Accepting foreign architecture: ${_PACKAGE_ARCHITECTURE}, live image architecture is: ${LB_ARCHITECTURE}" echo "${_PACKAGE_ARCHITECTURE}" >> chroot/root/packages.foreign-architectures fi done -- cgit v1.2.3