summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBehdad Esfahbod <behdad@behdad.org>2009-09-16 15:46:14 -0400
committerBehdad Esfahbod <behdad@behdad.org>2009-09-16 15:50:34 -0400
commitf4336352405ee7c184d45a73cdd6c1a0526843db (patch)
treec7ee81e631ca8ab3495188960667fdf7f988a266
parent56c9b2de7a2b93b2e0c59cf98326d8c0d4d508ba (diff)
Set LC_ALL=C instead of LANG=C
-rwxr-xr-xdoc/public/check-doc-coverage.sh4
-rwxr-xr-xdoc/public/check-doc-syntax.sh3
-rwxr-xr-xsrc/check-def.sh3
-rwxr-xr-xsrc/check-doc-syntax.sh3
-rwxr-xr-xsrc/check-headers.sh3
-rwxr-xr-xsrc/check-plt.sh3
-rwxr-xr-xsrc/check-preprocessor-syntax.sh3
7 files changed, 15 insertions, 7 deletions
diff --git a/doc/public/check-doc-coverage.sh b/doc/public/check-doc-coverage.sh
index 2898fc58..1cf051b1 100755
--- a/doc/public/check-doc-coverage.sh
+++ b/doc/public/check-doc-coverage.sh
@@ -1,6 +1,8 @@
#!/bin/sh
-LANG=C
+LC_ALL=C
+export LC_ALL
+
if test -z "$DOC_MODULE"; then
# extract from Makefile
eval `grep '^DOC_MODULE' Makefile | sed 's/ //g'`
diff --git a/doc/public/check-doc-syntax.sh b/doc/public/check-doc-syntax.sh
index c446d26b..129065d2 100755
--- a/doc/public/check-doc-syntax.sh
+++ b/doc/public/check-doc-syntax.sh
@@ -1,6 +1,7 @@
#!/bin/sh
-LANG=C
+LC_ALL=C
+export LC_ALL
test -z "$srcdir" && srcdir=.
test -z "$top_srcdir" && top_srcdir=$srcdir/../..
diff --git a/src/check-def.sh b/src/check-def.sh
index a33e71e6..4484d36d 100755
--- a/src/check-def.sh
+++ b/src/check-def.sh
@@ -1,6 +1,7 @@
#!/bin/sh
-LANG=C
+LC_ALL=C
+export LC_ALL
if which nm 2>/dev/null >/dev/null; then
:
diff --git a/src/check-doc-syntax.sh b/src/check-doc-syntax.sh
index a5c84628..2471cd93 100755
--- a/src/check-doc-syntax.sh
+++ b/src/check-doc-syntax.sh
@@ -1,6 +1,7 @@
#!/bin/sh
-LANG=C
+LC_ALL=C
+export LC_ALL
if grep --version 2>/dev/null | grep GNU >/dev/null; then
:
diff --git a/src/check-headers.sh b/src/check-headers.sh
index f01c24eb..61232954 100755
--- a/src/check-headers.sh
+++ b/src/check-headers.sh
@@ -1,6 +1,7 @@
#!/bin/sh
-LANG=C
+LC_ALL=C
+export LC_ALL
test -z "$srcdir" && srcdir=.
stat=0
diff --git a/src/check-plt.sh b/src/check-plt.sh
index c7a12d3b..5a9dae12 100755
--- a/src/check-plt.sh
+++ b/src/check-plt.sh
@@ -1,6 +1,7 @@
#!/bin/sh
-LANG=C
+LC_ALL=C
+export LC_ALL
if which readelf 2>/dev/null >/dev/null; then
:
diff --git a/src/check-preprocessor-syntax.sh b/src/check-preprocessor-syntax.sh
index 4e8efaa3..c4154151 100755
--- a/src/check-preprocessor-syntax.sh
+++ b/src/check-preprocessor-syntax.sh
@@ -1,6 +1,7 @@
#!/bin/sh
-LANG=C
+LC_ALL=C
+export LC_ALL
test -z "$srcdir" && srcdir=.
cd "$srcdir"