Author: sebor
Date: Wed Aug 16 11:19:52 2006
New Revision: 431972
URL: http://svn.apache.org/viewvc?rev=431972&view=rev
Log:
2006-08-16 Andrew Black <[EMAIL PROTECTED]>
* run_locale_utils.sh (generate_locale): Redirected stderr from
localedef utility to $dbgout.
(test_locale): Exported LC_ALL and LANG and echo'ed all export
directives and values to debug output.
Modified:
incubator/stdcxx/trunk/etc/config/run_locale_utils.sh
Modified: incubator/stdcxx/trunk/etc/config/run_locale_utils.sh
URL:
http://svn.apache.org/viewvc/incubator/stdcxx/trunk/etc/config/run_locale_utils.sh?rev=431972&r1=431971&r2=431972&view=diff
==============================================================================
--- incubator/stdcxx/trunk/etc/config/run_locale_utils.sh (original)
+++ incubator/stdcxx/trunk/etc/config/run_locale_utils.sh Wed Aug 16 11:19:52
2006
@@ -167,8 +167,8 @@
assertions=`expr $assertions + 1`
# Generating the database
- echo "${localedef} -w -c -f $1 -i $2 $3 2>/dev/null" >$dbgout
- ${localedef} -w -c -f $1 -i $2 $3 2>/dev/null
+ echo "${localedef} -w -c -f $1 -i $2 $3 2>"$dbgout >$dbgout
+ ${localedef} -w -c -f $1 -i $2 $3 2>$dbgout
retcode=$?
if [ $retcode -ne 0 ] ; then
@@ -242,11 +242,19 @@
$2/$3
# set necessary environment variables
+ echo "LC_ALL="$3 >$dbgout
LC_ALL=$3
+ echo "export LC_ALL" >$dbgout
+ export LC_ALL
+ echo "LANG="$3 >$dbgout
LANG=$3
+ echo "export LANG" >$dbgout
+ export LANG
## adjust the locale root
+ echo "RWSTD_LOCALE_ROOT="$2 >$dbgout
RWSTD_LOCALE_ROOT=$2
+ echo "export RWSTD_LOCALE_ROOT" >$dbgout
export RWSTD_LOCALE_ROOT
# dump the locale database content to temporary location
@@ -361,9 +369,13 @@
fi
## checking locale functionality
+ echo "RWSTD_SRC_ROOT="$nlsdir >$dbgout
RWSTD_SRC_ROOT=$nlsdir
+ echo "export RWSTD_SRC_ROOT" >$dbgout
export RWSTD_SRC_ROOT
+ echo "RWSTD_LOCALE_ROOT="$tmpdir >$dbgout
RWSTD_LOCALE_ROOT=$tmpdir
+ echo "export RWSTD_LOCALE_ROOT" >$dbgout
export RWSTD_LOCALE_ROOT
# test only one locale