From d43a8fdcd495825a3507950caa4cdc7e81d681db Mon Sep 17 00:00:00 2001 From: Andy Polyakov Date: Sun, 13 Mar 2016 21:49:15 +0100 Subject: [PATCH] engines/Makefile.in: some [older] shell complain about 'for i ;', but not if there is reference to empty variable. Reviewed-by: Richard Levitte --- engines/Makefile.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/engines/Makefile.in b/engines/Makefile.in index aaffe1e8dd..4c8ca99c06 100644 --- a/engines/Makefile.in +++ b/engines/Makefile.in @@ -10,7 +10,7 @@ CFLAG=-g MAKEFILE= Makefile AR= ar r -RECURSIVE_MAKE=[ -z "$(ENGDIRS)" ] || for i in $(ENGDIRS) ; do \ +RECURSIVE_MAKE= for i in $${ENGDIRS:-$(ENGDIRS)} ; do \ (cd $$i && echo "making $$target in $(DIR)/$$i..." && \ $(MAKE) -e TOP=../.. DIR=$$i $$target ) || exit 1; \ done; -- 2.25.1