summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2006-01-06 01:02:02 +0000
committerMike Frysinger <vapier@gentoo.org>2006-01-06 01:02:02 +0000
commit6bf7015ae79a6c479566176c07035206673351d1 (patch)
treeeabdf9a4e19b85119797182e63414c744366be70
parent3a0333eee6e7a71ed501eafe5a136093f850c1e0 (diff)
Jan-Benedict Glaw: run shell scripts through $(SHELL) so people
can force it to something other than /bin/sh
-rw-r--r--Makefile.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile.in b/Makefile.in
index bf0b5ccee..f9a101094 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -52,7 +52,7 @@ endif
headers: include/bits/uClibc_config.h
$(MAKE) headers-y
@$(SHELL_SET_X); \
- $(top_srcdir)extra/scripts/fix_includes.sh \
+ $(SHELL) $(top_srcdir)extra/scripts/fix_includes.sh \
-k $(KERNEL_SOURCE) -t $(TARGET_ARCH) \
$(header_extra_args)
if [ -f libc/sysdeps/linux/$(TARGET_ARCH)/fpu_control.h ] ; then \
@@ -86,7 +86,7 @@ headers: include/bits/uClibc_config.h
@cd $(top_builddir); \
set -e; \
$(SHELL_SET_X); \
- top_builddir=. CC="$(CC)" /bin/sh extra/scripts/gen_bits_syscall_h.sh > include/bits/sysnum.h.new; \
+ top_builddir=. CC="$(CC)" $(SHELL) extra/scripts/gen_bits_syscall_h.sh > include/bits/sysnum.h.new; \
if cmp include/bits/sysnum.h include/bits/sysnum.h.new >/dev/null 2>&1; then \
$(RM) include/bits/sysnum.h.new; \
else \