Remove ${SHELL} from tst-table.sh/tst-tables.sh
authorH.J. Lu <hjl.tools@gmail.com>
Fri, 26 Oct 2012 20:47:25 +0000 (13:47 -0700)
committerH.J. Lu <hjl.tools@gmail.com>
Fri, 26 Oct 2012 20:47:25 +0000 (13:47 -0700)
ChangeLog
iconvdata/tst-table.sh
iconvdata/tst-tables.sh

index a43b583..f02a3b6 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
+
+       *  iconvdata/tst-table.sh: Remove ${SHELL}.
+       *  iconvdata/tst-tables.sh: Likewise.
+
 2012-10-25  David S. Miller  <davem@davemloft.net>
 
        * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
index 14ab196..5283ad5 100755 (executable)
@@ -35,7 +35,7 @@ export LC_ALL
 set -e
 
 # Get the charmap.
-${SHELL} tst-table-charmap.sh ${charmap:-$charset} \
+./tst-table-charmap.sh ${charmap:-$charset} \
   < ../localedata/charmaps/${charmap:-$charset} \
   > ${objpfx}tst-${charset}.charmap.table
 # When the charset is GB18030, truncate this table because for this encoding,
index eaf84dc..77d9d18 100755 (executable)
@@ -262,7 +262,7 @@ while read charset charmap; do
   if test "$charset" = GB18030; then echo "This might take a while" 1>&2; fi
   case ${charset} in \#*) continue;; esac
   echo -n "Testing ${charset}" 1>&2
-  if ${SHELL} tst-table.sh ${common_objpfx} ${objpfx} "${run_program_prefix}" \
+  if ./tst-table.sh ${common_objpfx} ${objpfx} "${run_program_prefix}" \
       ${charset} ${charmap} < /dev/null; then
     echo 1>&2
   else