kumquat-buildroot/support/dependencies
Yann E. MORIN 38b81eb172 support: properly check bash is available
The current check is broken, as it only checks if the user's login
shell is bash, not what the system shell is.

Mimick the sequence found in the top-level Makefile to search for
bash, except for the fallback case, where we explicitly check that
'sh' is bash, by checking if it sets $BASH, so we know the fallback
case, in the top-level Makefile, to use 'sh' will indeed use bash.

Remove superfluous semi-colons ';' at the end of lines, they are
not needed in a shell script (this is not C!)

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Cc: Peter Korsgaard <jacmet@uclibc.org>
Cc: Andrew Barnes <andy@outsideglobe.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2014-04-20 11:13:36 +02:00
..
check-host-asciidoc.sh manual generation: check dependencies first 2013-11-01 16:41:04 +01:00
check-host-tar.mk dependencies: build a host-tar if no suitable tar can be found 2012-02-09 22:59:21 +01:00
check-host-tar.sh dependencies: build a host-tar if no suitable tar can be found 2012-02-09 22:59:21 +01:00
check-host-xzcat.mk xzcat: treat as host prerequisite and build if needed 2013-09-06 23:30:36 +02:00
check-host-xzcat.sh xzcat: treat as host prerequisite and build if needed 2013-09-06 23:30:36 +02:00
dependencies.mk dependencies: remove useless targets 2013-10-09 15:10:42 +02:00
dependencies.sh support: properly check bash is available 2014-04-20 11:13:36 +02:00