live-build/scripts/build
johnraff 2d9ab1f7f8 Test for executables: replace 'which' with more robust 'command -v'
Instances of:
if [ $(which <command> ]
have been replaced with:
if command -v <command> >/dev/null
which is considered to be more robust in a range of environments.

scripts/build/chroot_archives: line 259:
	if [ "${LB_APT}" = "aptitude" ] && [ ! $(Chroot chroot "which aptitude") ]
has been left untouched because the chroot might require a more complex command
which would need more testing.

manpages/Makefile: line 42:
	@if [ ! -x "$$(which po4a 2>/dev/null)" ]; \
has been left untouched because I am not sufficiently familiar with makefiles.
2020-03-12 10:35:57 +00:00
..
binary amend copyright & licensing blocks 2020-03-11 13:51:19 +00:00
binary_checksums amend copyright & licensing blocks 2020-03-11 13:51:19 +00:00
binary_chroot amend copyright & licensing blocks 2020-03-11 13:51:19 +00:00
binary_disk amend copyright & licensing blocks 2020-03-11 13:51:19 +00:00
binary_grub-efi grub-efi: fix image type check ordering 2020-03-12 09:59:44 +00:00
binary_grub-legacy amend copyright & licensing blocks 2020-03-11 13:51:19 +00:00
binary_grub-pc amend copyright & licensing blocks 2020-03-11 13:51:19 +00:00
binary_hdd remove obsolete loop-aes-utils related losetup hack 2020-03-12 10:31:39 +00:00
binary_hooks amend copyright & licensing blocks 2020-03-11 13:51:19 +00:00
binary_includes amend copyright & licensing blocks 2020-03-11 13:51:19 +00:00
binary_iso amend copyright & licensing blocks 2020-03-11 13:51:19 +00:00
binary_linux-image amend copyright & licensing blocks 2020-03-11 13:51:19 +00:00
binary_loadlin amend copyright & licensing blocks 2020-03-11 13:51:19 +00:00
binary_loopback_cfg amend copyright & licensing blocks 2020-03-11 13:51:19 +00:00
binary_manifest amend copyright & licensing blocks 2020-03-11 13:51:19 +00:00
binary_memtest amend copyright & licensing blocks 2020-03-11 13:51:19 +00:00
binary_netboot amend copyright & licensing blocks 2020-03-11 13:51:19 +00:00
binary_onie amend copyright & licensing blocks 2020-03-11 13:51:19 +00:00
binary_package-lists amend copyright & licensing blocks 2020-03-11 13:51:19 +00:00
binary_rootfs amend copyright & licensing blocks 2020-03-11 13:51:19 +00:00
binary_syslinux amend copyright & licensing blocks 2020-03-11 13:51:19 +00:00
binary_tar amend copyright & licensing blocks 2020-03-11 13:51:19 +00:00
binary_win32-loader amend copyright & licensing blocks 2020-03-11 13:51:19 +00:00
binary_zsync amend copyright & licensing blocks 2020-03-11 13:51:19 +00:00
bootstrap amend copyright & licensing blocks 2020-03-11 13:51:19 +00:00
bootstrap_archives amend copyright & licensing blocks 2020-03-11 13:51:19 +00:00
bootstrap_cache amend copyright & licensing blocks 2020-03-11 13:51:19 +00:00
bootstrap_debootstrap Test for executables: replace 'which' with more robust 'command -v' 2020-03-12 10:35:57 +00:00
build amend copyright & licensing blocks 2020-03-11 13:51:19 +00:00
chroot amend copyright & licensing blocks 2020-03-11 13:51:19 +00:00
chroot_apt amend copyright & licensing blocks 2020-03-11 13:51:19 +00:00
chroot_archives Test for executables: replace 'which' with more robust 'command -v' 2020-03-12 10:35:57 +00:00
chroot_cache amend copyright & licensing blocks 2020-03-11 13:51:19 +00:00
chroot_debianchroot amend copyright & licensing blocks 2020-03-11 13:51:19 +00:00
chroot_devpts amend copyright & licensing blocks 2020-03-11 13:51:19 +00:00
chroot_dpkg amend copyright & licensing blocks 2020-03-11 13:51:19 +00:00
chroot_firmware amend copyright & licensing blocks 2020-03-11 13:51:19 +00:00
chroot_hacks amend copyright & licensing blocks 2020-03-11 13:51:19 +00:00
chroot_hooks amend copyright & licensing blocks 2020-03-11 13:51:19 +00:00
chroot_hostname amend copyright & licensing blocks 2020-03-11 13:51:19 +00:00
chroot_hosts amend copyright & licensing blocks 2020-03-11 13:51:19 +00:00
chroot_includes amend copyright & licensing blocks 2020-03-11 13:51:19 +00:00
chroot_install-packages amend copyright & licensing blocks 2020-03-11 13:51:19 +00:00
chroot_interactive amend copyright & licensing blocks 2020-03-11 13:51:19 +00:00
chroot_linux-image amend copyright & licensing blocks 2020-03-11 13:51:19 +00:00
chroot_package-lists amend copyright & licensing blocks 2020-03-11 13:51:19 +00:00
chroot_preseed amend copyright & licensing blocks 2020-03-11 13:51:19 +00:00
chroot_proc amend copyright & licensing blocks 2020-03-11 13:51:19 +00:00
chroot_resolv amend copyright & licensing blocks 2020-03-11 13:51:19 +00:00
chroot_selinuxfs amend copyright & licensing blocks 2020-03-11 13:51:19 +00:00
chroot_sysfs amend copyright & licensing blocks 2020-03-11 13:51:19 +00:00
chroot_sysv-rc amend copyright & licensing blocks 2020-03-11 13:51:19 +00:00
chroot_tmpfs amend copyright & licensing blocks 2020-03-11 13:51:19 +00:00
clean amend copyright & licensing blocks 2020-03-11 13:51:19 +00:00
config Test for executables: replace 'which' with more robust 'command -v' 2020-03-12 10:35:57 +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 amend copyright & licensing blocks 2020-03-11 13:51:19 +00:00
installer_debian-installer amend copyright & licensing blocks 2020-03-11 13:51:19 +00:00
installer_preseed amend copyright & licensing blocks 2020-03-11 13:51:19 +00:00
source amend copyright & licensing blocks 2020-03-11 13:51:19 +00:00
source_checksums amend copyright & licensing blocks 2020-03-11 13:51:19 +00:00
source_debian amend copyright & licensing blocks 2020-03-11 13:51:19 +00:00
source_disk amend copyright & licensing blocks 2020-03-11 13:51:19 +00:00
source_hdd remove obsolete loop-aes-utils related losetup hack 2020-03-12 10:31:39 +00:00
source_hooks amend copyright & licensing blocks 2020-03-11 13:51:19 +00:00
source_iso amend copyright & licensing blocks 2020-03-11 13:51:19 +00:00
source_live amend copyright & licensing blocks 2020-03-11 13:51:19 +00:00
source_tar amend copyright & licensing blocks 2020-03-11 13:51:19 +00:00