From d07d9f24345aaba25dfe6759a30d7d6f304b21ce Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Tue, 25 Nov 2014 21:16:20 -0800 Subject: build: port new rule for coreutils.h to old Bash Reported by Ted Carr in: http://bugs.gnu.org/19184 * src/local.mk (src/coreutils.h): Don't assume single_binary_progs is nonempty. --- src/local.mk | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/local.mk b/src/local.mk index 6e80d31c4..ae1ba0c0a 100644 --- a/src/local.mk +++ b/src/local.mk @@ -577,7 +577,8 @@ src/version.h: Makefile DISTCLEANFILES += src/coreutils.h src/coreutils.h: Makefile $(AM_V_GEN)rm -f $@ - $(AM_V_at)for prog in $(single_binary_progs); do \ + $(AM_V_at)for prog in x $(single_binary_progs); do \ + test $$prog = x && continue; \ prog=`basename $$prog`; \ main=`echo $$prog | tr '[' '_'`; \ echo "SINGLE_BINARY_PROGRAM(\"$$prog\", $$main)"; \ -- cgit v1.2.3-70-g09d2