]> granicus.if.org Git - postgis/commitdiff
Also set LANG (see ticket #819) [RT-SIGTA]
authorSandro Santilli <strk@keybit.net>
Mon, 7 Feb 2011 17:03:11 +0000 (17:03 +0000)
committerSandro Santilli <strk@keybit.net>
Mon, 7 Feb 2011 17:03:11 +0000 (17:03 +0000)
git-svn-id: http://svn.osgeo.org/postgis/trunk@6786 b70326c6-7e19-0410-871a-916f4a2858ee

regress/run_test

index 92014d3ec09b2866e8a7326b978388fa86e5602c..831d52bc541a2a331cfb8cfcad348dd9dcc14861 100755 (executable)
@@ -25,7 +25,9 @@ PGSQL2SHP=00-regress-install/bin/pgsql2shp
 # Set the locale to "C" so error messages match
 # Save original locale to set back
 ORIG_LC_ALL=$LC_ALL
+ORIG_LANG=$LANG
 export LC_ALL=C
+export LANG=C
 
 if [ -n "$USE_VERSION" ]; then
        if [ "$USE_VERSION" -gt 74 ]; then
@@ -532,5 +534,6 @@ fi
 
 # Set the locale back to the original
 export LC_ALL=$ORIG_LC_ALL
+export LANG=$ORIG_LANG
 
 exit $FAIL