live-build/scripts/build
Lyndon Brown c55eb8a0c3 use local scope for private function vars
all vars affected have been carefully checked to be quite certain
that they are definitely local

where variable is assigned the return value of a function/command, the
local "declaration" is deliberately done on a separate line, since
`local FOO` is actually treated itself as a command rather than a
declaration; will thus always cause $? to be zero, and thus if done on
the same line as such an assignment can not only clobber $? but in doing
so unintentionally blocks failure of a command from triggering the
expected exit from having `set -e`.

also, from testing, i have found that when assigning "${@}" this must be
done on a separate line confusingly as otherwise an error occurs.

Gbp-Dch: Short
2020-03-16 22:10:03 +00:00
..
binary add build & build stage success messages 2020-03-16 21:42:49 +00:00
binary_checksums fix comment typo 2020-03-13 16:19:59 +00:00
binary_chroot fix comment typo 2020-03-13 16:19:59 +00:00
binary_disk fix comment typo 2020-03-13 16:19:59 +00:00
binary_grub-efi Add grub EFI support for armhf arch. 2020-03-15 11:35:19 +00:00
binary_grub-legacy use local scope for private function vars 2020-03-16 22:10:03 +00:00
binary_grub-pc fix comment typo 2020-03-13 16:19:59 +00:00
binary_hdd use local scope for private function vars 2020-03-16 22:10:03 +00:00
binary_hooks fix comment typo 2020-03-13 16:19:59 +00:00
binary_includes fix comment typo 2020-03-13 16:19:59 +00:00
binary_iso fix comment typo 2020-03-13 16:19:59 +00:00
binary_linux-image fix comment typo 2020-03-13 16:19:59 +00:00
binary_loadlin fix comment typo 2020-03-13 16:19:59 +00:00
binary_loopback_cfg use local scope for private function vars 2020-03-16 22:10:03 +00:00
binary_manifest fix comment typo 2020-03-13 16:19:59 +00:00
binary_memtest fix comment typo 2020-03-13 16:19:59 +00:00
binary_netboot fix comment typo 2020-03-13 16:19:59 +00:00
binary_onie fix comment typo 2020-03-13 16:19:59 +00:00
binary_package-lists fix comment typo 2020-03-13 16:19:59 +00:00
binary_rootfs fix comment typo 2020-03-13 16:19:59 +00:00
binary_syslinux syslinux: remove replacement of unused label in menu configs 2020-03-16 16:29:00 +00:00
binary_tar fix comment typo 2020-03-13 16:19:59 +00:00
binary_win32-loader fix comment typo 2020-03-13 16:19:59 +00:00
binary_zsync fix comment typo 2020-03-13 16:19:59 +00:00
bootstrap add build & build stage success messages 2020-03-16 21:42:49 +00:00
bootstrap_archives fix comment typo 2020-03-13 16:19:59 +00:00
bootstrap_cache fix comment typo 2020-03-13 16:19:59 +00:00
bootstrap_debootstrap fix comment typo 2020-03-13 16:19:59 +00:00
build add build & build stage success messages 2020-03-16 21:42:49 +00:00
chroot add build & build stage success messages 2020-03-16 21:42:49 +00:00
chroot_apt fix comment typo 2020-03-13 16:19:59 +00:00
chroot_archives fix comment typo 2020-03-13 16:19:59 +00:00
chroot_cache fix comment typo 2020-03-13 16:19:59 +00:00
chroot_debianchroot fix comment typo 2020-03-13 16:19:59 +00:00
chroot_devpts hide mountpoints from nautilus 2020-03-13 20:28:15 +00:00
chroot_dpkg fix comment typo 2020-03-13 16:19:59 +00:00
chroot_firmware fix wrong description 2020-03-15 21:54:37 +00:00
chroot_hacks fix comment typo 2020-03-13 16:19:59 +00:00
chroot_hooks fix comment typo 2020-03-13 16:19:59 +00:00
chroot_hostname fix comment typo 2020-03-13 16:19:59 +00:00
chroot_hosts fix comment typo 2020-03-13 16:19:59 +00:00
chroot_includes fix comment typo 2020-03-13 16:19:59 +00:00
chroot_install-packages fix comment typo 2020-03-13 16:19:59 +00:00
chroot_interactive fix comment typo 2020-03-13 16:19:59 +00:00
chroot_linux-image fix missing stage descriptions 2020-03-15 21:54:37 +00:00
chroot_package-lists fix comment typo 2020-03-13 16:19:59 +00:00
chroot_preseed fix comment typo 2020-03-13 16:19:59 +00:00
chroot_proc hide mountpoints from nautilus 2020-03-13 20:28:15 +00:00
chroot_resolv fix comment typo 2020-03-13 16:19:59 +00:00
chroot_selinuxfs hide mountpoints from nautilus 2020-03-13 20:28:15 +00:00
chroot_sysfs hide mountpoints from nautilus 2020-03-13 20:28:15 +00:00
chroot_sysv-rc fix comment typo 2020-03-13 16:19:59 +00:00
chroot_tmpfs hide mountpoints from nautilus 2020-03-13 20:28:15 +00:00
clean locks: tidy lock acquisition 2020-03-13 15:37:38 +00:00
config use local scope for private function vars 2020-03-16 22:10:03 +00:00
efi-image amend copyright & licensing blocks 2020-03-11 13:51:19 +00:00
grub-cpmodules amend copyright & licensing blocks 2020-03-11 13:51:19 +00:00
installer add build & build stage success messages 2020-03-16 21:42:49 +00:00
installer_debian-installer use local scope for private function vars 2020-03-16 22:10:03 +00:00
installer_preseed fix comment typo 2020-03-13 16:19:59 +00:00
source add build & build stage success messages 2020-03-16 21:42:49 +00:00
source_checksums fix comment typo 2020-03-13 16:19:59 +00:00
source_debian source: properly fix _apt permissions warning 2020-03-15 21:38:35 +00:00
source_disk fix comment typo 2020-03-13 16:19:59 +00:00
source_hdd fix comment typo 2020-03-13 16:19:59 +00:00
source_hooks fix comment typo 2020-03-13 16:19:59 +00:00
source_iso fix comment typo 2020-03-13 16:19:59 +00:00
source_live fix comment typo 2020-03-13 16:19:59 +00:00
source_tar fix comment typo 2020-03-13 16:19:59 +00:00