Update of /cvsroot/linux-vax/toolchain/patches
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv16852
Added Files:
uclibc-000039-POSIXconform-script-invocation.patch
Log Message:
- On a system conforming to POSIX, you cannot rely on /bin/sh being a
POSIX shell. Either call scripts as "sh script.sh", or (if the
operating system supports it, which isn't a must-have for POSIX)
use #!/usr/bin/env sh as shell-bang.
--- NEW FILE: uclibc-000039-POSIXconform-script-invocation.patch ---
--- uclibc/Rules.mak~ 2006-01-05 23:12:28.949858000 +0100
+++ uclibc/Rules.mak 2006-01-05 23:12:46.719804000 +0100
@@ -36,6 +36,7 @@
INSTALL = install
LN = ln
RM = rm -f
+SH = sh
TAR = tar
STRIP_FLAGS ?= -x -R .note -R .comment
--- uclibc/Makefile.in~ 2006-01-05 23:15:04.169448000 +0100
+++ uclibc/Makefile.in 2006-01-05 23:15:34.579370000 +0100
@@ -52,7 +52,7 @@
headers: include/bits/uClibc_config.h
$(MAKE) headers-y
@$(SHELL_SET_X); \
- $(top_srcdir)extra/scripts/fix_includes.sh \
+ $(SH) $(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 \
|