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_win32-loader | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'scripts/build/binary_win32-loader') diff --git a/scripts/build/binary_win32-loader b/scripts/build/binary_win32-loader index 16d81bc10..9dba191b6 100755 --- a/scripts/build/binary_win32-loader +++ b/scripts/build/binary_win32-loader @@ -39,7 +39,7 @@ Acquire_lockfile RUN_LABEL="Run Debian GNU/Linux" -case "${LB_ARCHITECTURES}" in +case "${LB_ARCHITECTURE}" in amd64|i386) # Checking depends Check_package chroot /usr/share/win32/win32-loader.exe win32-loader @@ -80,18 +80,18 @@ EOF cat > binary/win32-loader.ini << EOF [installer] kernel=linux -arch=${LB_ARCHITECTURES} +arch=${LB_ARCHITECTURE} default_desktop=gnome -${LB_ARCHITECTURES}/linux=install/vmlinuz -${LB_ARCHITECTURES}/initrd=install/initrd.gz +${LB_ARCHITECTURE}/linux=install/vmlinuz +${LB_ARCHITECTURE}/initrd=install/initrd.gz EOF if [ -e binary/install/gtk ] then cat >> binary/win32-loader.ini << EOF -${LB_ARCHITECTURES}/gtk/linux=install/vmlinuz -${LB_ARCHITECTURES}/gtk/initrd=install/gtk/initrd.gz +${LB_ARCHITECTURE}/gtk/linux=install/vmlinuz +${LB_ARCHITECTURE}/gtk/initrd=install/gtk/initrd.gz EOF fi -- cgit v1.2.3