summaryrefslogtreecommitdiff
path: root/src
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 /src
parent56c9b2de7a2b93b2e0c59cf98326d8c0d4d508ba (diff)
Set LC_ALL=C instead of LANG=C
Diffstat (limited to 'src')
-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
5 files changed, 10 insertions, 5 deletions
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"