live-build/functions
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
..
aliases.sh amend copyright & licensing blocks 2020-03-11 13:51:19 +00:00
architectures.sh Test for executables: replace 'which' with more robust 'command -v' 2020-03-12 10:35:57 +00:00
arguments.sh amend copyright & licensing blocks 2020-03-11 13:51:19 +00:00
bootloaders.sh amend copyright & licensing blocks 2020-03-11 13:51:19 +00:00
breakpoints.sh amend copyright & licensing blocks 2020-03-11 13:51:19 +00:00
cache.sh amend copyright & licensing blocks 2020-03-11 13:51:19 +00:00
chroot_bind_path.sh amend copyright & licensing blocks 2020-03-11 13:51:19 +00:00
chroot.sh amend copyright & licensing blocks 2020-03-11 13:51:19 +00:00
color.sh amend copyright & licensing blocks 2020-03-11 13:51:19 +00:00
common.sh amend copyright & licensing blocks 2020-03-11 13:51:19 +00:00
conffile.sh amend copyright & licensing blocks 2020-03-11 13:51:19 +00:00
configuration.sh amend copyright & licensing blocks 2020-03-11 13:51:19 +00:00
defaults.sh Test for executables: replace 'which' with more robust 'command -v' 2020-03-12 10:35:57 +00:00
echo.sh amend copyright & licensing blocks 2020-03-11 13:51:19 +00:00
exit.sh amend copyright & licensing blocks 2020-03-11 13:51:19 +00:00
firmwarelists.sh amend copyright & licensing blocks 2020-03-11 13:51:19 +00:00
help.sh "Live Systems" -> "Debian Live" 2020-03-11 15:23:31 +00:00
init.sh amend copyright & licensing blocks 2020-03-11 13:51:19 +00:00
lockfile.sh amend copyright & licensing blocks 2020-03-11 13:51:19 +00:00
losetup.sh Test for executables: replace 'which' with more robust 'command -v' 2020-03-12 10:35:57 +00:00
man.sh Test for executables: replace 'which' with more robust 'command -v' 2020-03-12 10:35:57 +00:00
packagelists.sh amend copyright & licensing blocks 2020-03-11 13:51:19 +00:00
packages.sh Test for executables: replace 'which' with more robust 'command -v' 2020-03-12 10:35:57 +00:00
sourcelist.sh amend copyright & licensing blocks 2020-03-11 13:51:19 +00:00
stagefile.sh amend copyright & licensing blocks 2020-03-11 13:51:19 +00:00
usage.sh amend copyright & licensing blocks 2020-03-11 13:51:19 +00:00
wrapper.sh amend copyright & licensing blocks 2020-03-11 13:51:19 +00:00