live-build/functions
johnraff 0e5d0483e5 Replace 'which' with 'command -v' to test for the existance of an executable
This is considered to be more robust.

Two instances remain:

scripts/build/chroot_archives, line 257:
if [ "${LB_APT}" = "aptitude" ] && [ ! $(Chroot chroot "which aptitude") ]
The command is run inside a chroot where the environment might be special,
and would need further testing.

manpages/Makefile, line 42:
@if [ ! -x "$$(which po4a 2>/dev/null)" ]; \
I am insufficiently familiar with makefile syntax to edit this.
2020-05-01 09:59:11 +00:00
..
aliases.sh fix $@ parameter expansion issues 2020-04-23 09:38:01 +00:00
architectures.sh Replace 'which' with 'command -v' to test for the existance of an executable 2020-05-01 09:59:11 +00:00
arguments.sh Revert "frontend: properly handle option processing" 2020-04-24 15:37:13 +02:00
bootloaders.sh bootloaders: improve bootloader list handling 2020-04-23 11:52:04 +01:00
breakpoints.sh use local scope for private function vars 2020-03-16 22:10:03 +00:00
cache.sh use local scope for private function vars 2020-03-16 22:10:03 +00:00
chroot_bind_path.sh use local scope for private function vars 2020-03-16 22:10:03 +00:00
chroot.sh chroot: make var local 2020-04-23 15:47:00 +02:00
color.sh amend copyright & licensing blocks 2020-03-11 13:51:19 +00:00
common.sh Fix version computing when LIVE_BUILD is set 2020-04-23 17:00:19 +02:00
conffile.sh config: fix wrong variable name 2020-05-01 08:57:44 +00:00
configuration.sh Replace 'which' with 'command -v' to test for the existance of an executable 2020-05-01 09:59:11 +00:00
echo.sh use local scope for private function vars 2020-03-16 22:10:03 +00:00
exit.sh exit: fix missing local scope 2020-03-17 17:33:31 +00:00
firmwarelists.sh rename LB_ARCHITECTURES to LB_ARCHITECTURE 2020-04-23 15:54:19 +02:00
init.sh init: warn if auto script exists but is not executable 2020-04-30 05:07:02 +00:00
lockfile.sh locks: tidy lock acquisition 2020-03-13 15:37:38 +00:00
losetup.sh Replace 'which' with 'command -v' to test for the existance of an executable 2020-05-01 09:59:11 +00:00
man.sh Replace 'which' with 'command -v' to test for the existance of an executable 2020-05-01 09:59:11 +00:00
packagelists.sh fix $@ parameter expansion issues 2020-04-23 09:38:01 +00:00
packages.sh Replace 'which' with 'command -v' to test for the existance of an executable 2020-05-01 09:59:11 +00:00
sourcelist.sh archives: explicitly pass along _PASS to Create_apt_sources_list 2020-03-20 11:43:01 +00:00
stagefile.sh a couple tiny doc fixes 2020-04-29 10:27:16 +01:00
usage.sh Use descriptive parameter names for Usage() 2020-04-23 16:38:59 +02:00
wrapper.sh fix $@ parameter expansion issues 2020-04-23 09:38:01 +00:00