diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2014-11-25 21:16:20 -0800 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2014-11-25 21:16:48 -0800 |
commit | d07d9f24345aaba25dfe6759a30d7d6f304b21ce (patch) | |
tree | ed6db990e5f25909458aaab0fdca29aae1478be5 /src | |
parent | 16e2347bd545057b04a97115563e606ad822ec33 (diff) | |
download | coreutils-d07d9f24345aaba25dfe6759a30d7d6f304b21ce.tar.xz |
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.
Diffstat (limited to 'src')
-rw-r--r-- | src/local.mk | 3 |
1 files changed, 2 insertions, 1 deletions
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)"; \ |