From 3642eed625296d4ad3b3b3c46a90914d34ad148c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Tue, 28 Jul 2015 11:25:41 +0200 Subject: Fix shell incompatibility script construct --- Makefile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Makefile b/Makefile index e08f4d2..3788bff 100644 --- a/Makefile +++ b/Makefile @@ -99,21 +99,21 @@ distclean_buildroot: scripts/confmk.py parse_kconfig: - @if [[ `$(MAKE) -C scripts/parse_kconfig/ -q; echo $$?` != "0" ]]; then \ + @if [ `$(MAKE) -C scripts/parse_kconfig/ -q; echo $$?` != "0" ]; then \ $(MAKE) -C scripts/parse_kconfig/; fi write_config: - @if [[ `$(MAKE) -C scripts/write_config/ -q; echo $$?` != "0" ]]; then \ + @if [ `$(MAKE) -C scripts/write_config/ -q; echo $$?` != "0" ]; then \ $(MAKE) -C scripts/write_config/; fi allconfig: - @if [[ `$(MAKE) -C scripts/allconfig/ -q; echo $$?` != "0" ]]; then \ + @if [ `$(MAKE) -C scripts/allconfig/ -q; echo $$?` != "0" ]; then \ $(MAKE) -C scripts/allconfig/; fi picosat: @if [ ! -e scripts/picosat-959/makefile ]; then \ cd scripts/picosat-959 && ./configure; fi - @if [[ `$(MAKE) -C scripts/picosat-959 -q; echo $$?` != "0" ]]; then \ + @if [ `$(MAKE) -C scripts/picosat-959 -q; echo $$?` != "0" ]; then \ $(MAKE) -C scripts/picosat-959; fi buildroot/.config: -- cgit v1.2.3