mirror of
https://git.osgeo.org/gitea/postgis/postgis
synced 2024-10-24 17:12:35 +00:00
Also set LANG (see ticket #819) [RT-SIGTA]
git-svn-id: http://svn.osgeo.org/postgis/trunk@6786 b70326c6-7e19-0410-871a-916f4a2858ee
This commit is contained in:
parent
da1ff4cabf
commit
9168166117
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue