From 6c6e8d6eda24aff9ba9aa9274976e144f2a95fa1 Mon Sep 17 00:00:00 2001 From: Peter Kjellerstedt Date: Tue, 13 Feb 2007 09:47:44 +0000 Subject: Do not produce spurious "/bin/sh: [: too many arguments" if $(HEADERS_BITS_SUBARCH) is empty (which it most likely is). --- Makefile.in | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'Makefile.in') diff --git a/Makefile.in b/Makefile.in index 72ac2760e..a0f4f38c6 100644 --- a/Makefile.in +++ b/Makefile.in @@ -75,11 +75,9 @@ headers: include/bits/uClibc_config.h for i in $(HEADERS_BITS_ARCH) ; do \ $(LN) -fs ../../libc/sysdeps/linux/$(TARGET_ARCH)/bits/$$i .; \ done; \ - if [ -n $(HEADERS_BITS_SUBARCH) ] ; then \ - for i in $(HEADERS_BITS_SUBARCH) ; do \ - $(LN) -fs ../../libc/sysdeps/linux/$(TARGET_ARCH)/bits/$(TARGET_SUBARCH)/$$i .; \ - done; \ - fi + for i in $(HEADERS_BITS_SUBARCH) ; do \ + $(LN) -fs ../../libc/sysdeps/linux/$(TARGET_ARCH)/bits/$(TARGET_SUBARCH)/$$i .; \ + done $(Q)\ cd include/sys; \ set -e; \ -- cgit v1.2.3