summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorAbdoulaye Walsimou Gaye <awg@embtoolkit.org>2013-03-30 15:25:32 +0100
committerAbdoulaye Walsimou Gaye <awg@embtoolkit.org>2013-03-30 15:25:32 +0100
commitb0e3fa69419ed832b397261739deec987adc0228 (patch)
treecf63f7d4d8055e72b8f60361faa24288340ef7ce /Makefile
parentd08438a4a2ac0c07ca1d5f53291c70c525f4138d (diff)
downloadembtoolkit-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>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 70eb916..167097d 100644
--- a/Makefile
+++ b/Makefile
@@ -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