From b0e3fa69419ed832b397261739deec987adc0228 Mon Sep 17 00:00:00 2001 From: Abdoulaye Walsimou Gaye Date: Sat, 30 Mar 2013 15:25:32 +0100 Subject: Build system: fix SHELL when bash was not found Signed-off-by: Abdoulaye Walsimou Gaye --- Makefile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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 -- cgit v1.2.3