diff options
author | Abdoulaye Walsimou Gaye <awg@embtoolkit.org> | 2013-03-30 15:25:32 +0100 |
---|---|---|
committer | Abdoulaye Walsimou Gaye <awg@embtoolkit.org> | 2013-03-30 15:25:32 +0100 |
commit | b0e3fa69419ed832b397261739deec987adc0228 (patch) | |
tree | cf63f7d4d8055e72b8f60361faa24288340ef7ce | |
parent | d08438a4a2ac0c07ca1d5f53291c70c525f4138d (diff) | |
download | embtoolkit-b0e3fa69419ed832b397261739deec987adc0228.tar.gz embtoolkit-b0e3fa69419ed832b397261739deec987adc0228.tar.bz2 embtoolkit-b0e3fa69419ed832b397261739deec987adc0228.tar.xz |
Build system: fix SHELL when bash was not found
Signed-off-by: Abdoulaye Walsimou Gaye <awg@embtoolkit.org>
-rw-r--r-- | Makefile | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -53,7 +53,11 @@ CONFIG_SHELL := \ if [ -x "$$BASH" ]; then \ echo $$BASH; \ else \ - if [ -x /bin/bash ]; then echo /bin/bash; else echo sh; fi; \ + if [ -x /bin/bash ]; then \ + echo /bin/bash; \ + else \ + echo /bin/sh; \ + fi; \ fi) SHELL := $(CONFIG_SHELL) export SHELL CONFIG_SHELL |