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/binary_syslinux | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'scripts/build/binary_syslinux') diff --git a/scripts/build/binary_syslinux b/scripts/build/binary_syslinux index 86488fec4..ad9db9a83 100755 --- a/scripts/build/binary_syslinux +++ b/scripts/build/binary_syslinux @@ -198,7 +198,6 @@ fi _VERSION="${_VERSION:-none}" _DISTRIBUTION="${LB_DISTRIBUTION_BINARY}" -_ARCHITECTURE="${LB_ARCHITECTURES}" _DATE=$(date -R) _YEAR="$(date +%Y)" @@ -228,7 +227,7 @@ do -e "s|@DISTRIBUTION@|${_DISTRIBUTION}|g" \ -e "s|@PARENT_DISTRIBUTION@|${LB_PARENT_DISTRIBUTION_BINARY}|g" \ -e "s|@VERSION@|${_VERSION}|g" \ - -e "s|@ARCHITECTURE@|${_ARCHITECTURE}|g" \ + -e "s|@ARCHITECTURE@|${LB_ARCHITECTURE}|g" \ -e "s|@DATE@|${_DATE}|g" \ -e "s|@YEAR@|${_YEAR}|g" \ -e "s|@MONTH@|${_MONTH}|g" \ -- cgit v1.2.3