if [ -n "" ]; then \
for r in ; do \
echo $r; \
/tmp/bash: -c: line 1: syntax error near unexpected token `;'
/tmp/bash: -c: line 1: `if [ -n "" ]; then for r in ; do echo $r; done; fi'
make: *** [all] Error 2
Bash in RedHat 7.1 and the current public beta are ok.
Created attachment 51744 [details]
A Makefile to show the bash bug
This is because
for i in ; do something; done
isn't part of older standards.
Support for this construct has been added in 2.05.
It is a regression from RedHat 7.1. The build stops working
after upgrading to RedHat 7.2.