This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

PATCH: Pass SHELL to iconvdata/tst-tables.sh andiconvdata/tst-table.sh


Hi,

iconvdata/tst-tables.sh and iconvdata/tst-table.sh don't work with
zsh.  This patch sets SHELL and passes it to iconvdata/tst-tables.sh.
Tested on x86-64.  OK to install?

Thanks.

H.J.
---
	* config.make.in (SHELL): New variable.
	* iconvdata/Makefile ($(objpfx)tst-tables.out): Pass SHELL
	environment to tst-tables.sh.

diff --git a/config.make.in b/config.make.in
index c22acf4..8cfd30e 100644
--- a/config.make.in
+++ b/config.make.in
@@ -133,6 +133,7 @@ MSGFMT = @MSGFMT@
 # Script execution tools.
 BASH = @BASH_SHELL@
 KSH = @KSH@
+SHELL = @SHELL@
 AWK = @AWK@
 PERL = @PERL@
 
diff --git a/iconvdata/Makefile b/iconvdata/Makefile
index 2840cff..07e4076 100644
--- a/iconvdata/Makefile
+++ b/iconvdata/Makefile
@@ -304,6 +304,7 @@ $(objpfx)iconv-test.out: run-iconv-test.sh $(objpfx)gconv-modules \
 $(objpfx)tst-tables.out: tst-tables.sh $(objpfx)gconv-modules \
 			 $(addprefix $(objpfx),$(modules.so)) \
 			 $(objpfx)tst-table-from $(objpfx)tst-table-to
+	SHELL=$(SHELL) \
 	$(SHELL) $< $(common-objpfx) $(common-objpfx)iconvdata/ \
 		'$(run-program-prefix)' > $@
 


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]