summaryrefslogtreecommitdiff
path: root/scripts/build/chroot_archives
diff options
context:
space:
mode:
authorLyndon Brown <jnqnfe@gmail.com>2020-04-01 10:58:47 +0100
committerRaphaƫl Hertzog <hertzog@debian.org>2020-04-23 15:54:19 +0200
commit6cc72509541404dc0af57bf2b29dfaaa1ee3e1a4 (patch)
treec91a79037457e7bb2c0630fa8c065bee6c465bad /scripts/build/chroot_archives
parent6def2c27be28169cf3e0757a6928e3f13de157a8 (diff)
downloadvyos-live-build-6cc72509541404dc0af57bf2b29dfaaa1ee3e1a4.tar.gz
vyos-live-build-6cc72509541404dc0af57bf2b29dfaaa1ee3e1a4.zip
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
Diffstat (limited to 'scripts/build/chroot_archives')
-rwxr-xr-xscripts/build/chroot_archives4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/build/chroot_archives b/scripts/build/chroot_archives
index 4bec09384..399d4d439 100755
--- a/scripts/build/chroot_archives
+++ b/scripts/build/chroot_archives
@@ -123,9 +123,9 @@ case "${_ACTION}" in
fi
# Copy packages
- if Find_files config/packages.chroot/*_"${LB_ARCHITECTURES}".deb || Find_files config/packages/*_"${LB_ARCHITECTURES}".deb
+ if Find_files config/packages.chroot/*_"${LB_ARCHITECTURE}".deb || Find_files config/packages/*_"${LB_ARCHITECTURE}".deb
then
- for FILE in config/packages.chroot/*_"${LB_ARCHITECTURES}".deb config/packages/*_"${LB_ARCHITECTURES}".deb
+ for FILE in config/packages.chroot/*_"${LB_ARCHITECTURE}".deb config/packages/*_"${LB_ARCHITECTURE}".deb
do
if [ -L "${FILE}" ]
then