summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog7
-rwxr-xr-xlocaledata/tst-wctype.sh5
2 files changed, 9 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog
index bfe34653ce..ebfd5062d3 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2012-10-19  Jim Blandy  <jimb@codesourcery.com>
+	    Joseph Myers  <joseph@codesourcery.com>
+
+	* localedata/tst-wctype.sh (run_program_prefix): Remove variable.
+	(tst_wctype): New variable.  Use it directly to run test program
+	instead of passing test program name as argument.
+
 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
 
 	[BZ #14716]
diff --git a/localedata/tst-wctype.sh b/localedata/tst-wctype.sh
index 0dd8a82fa2..8cb34b8570 100755
--- a/localedata/tst-wctype.sh
+++ b/localedata/tst-wctype.sh
@@ -20,12 +20,11 @@
 set -e
 
 common_objpfx=$1
-run_program_prefix=$2
+tst_wctype=$2
 
 # Run the test program.
 LOCPATH=${common_objpfx}localedata GCONV_PATH=${common_objpfx}iconvdata \
-LC_ALL=ja_JP.EUC-JP ${run_program_prefix} \
-  ${common_objpfx}localedata/tst-wctype < tst-wctype.input \
+LC_ALL=ja_JP.EUC-JP ${tst_wctype} < tst-wctype.input \
     > ${common_objpfx}localedata/tst-wctype.out
 
 exit $?