]> Git Repo - buildroot-mgba.git/commit
support: properly check bash is available
authorYann E. MORIN <[email protected]>
Tue, 18 Mar 2014 23:33:49 +0000 (00:33 +0100)
committerThomas Petazzoni <[email protected]>
Sun, 20 Apr 2014 09:13:36 +0000 (11:13 +0200)
commit38b81eb17253c2590d42243524eed556e80ff58f
tree6df2e055f19bd1ed749d528b9cd0b36ec6b71a6a
parenta0df19d2e5efd263c9d23f6df691b7a4cf8dd6f0
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" <[email protected]>
Cc: Thomas Petazzoni <[email protected]>
Cc: Peter Korsgaard <[email protected]>
Cc: Andrew Barnes <[email protected]>
Signed-off-by: Thomas Petazzoni <[email protected]>
support/dependencies/dependencies.sh
This page took 0.030543 seconds and 4 git commands to generate.