[vte] [doc] Set LC_ALL instead of LANG for our check scripts
- From: Behdad Esfahbod <behdad src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [vte] [doc] Set LC_ALL instead of LANG for our check scripts
- Date: Wed, 16 Sep 2009 19:50:18 +0000 (UTC)
commit ed455c5413f04c4688fd072acfd121b97636e023
Author: Behdad Esfahbod <behdad behdad org>
Date: Wed Sep 16 15:42:19 2009 -0400
[doc] Set LC_ALL instead of LANG for our check scripts
doc/reference/check-doc-coverage.sh | 4 +++-
doc/reference/check-doc-syntax.sh | 3 ++-
git.mk | 2 +-
src/check-doc-syntax.sh | 3 ++-
4 files changed, 8 insertions(+), 4 deletions(-)
---
diff --git a/doc/reference/check-doc-coverage.sh b/doc/reference/check-doc-coverage.sh
index 2898fc5..1cf051b 100755
--- a/doc/reference/check-doc-coverage.sh
+++ b/doc/reference/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/reference/check-doc-syntax.sh b/doc/reference/check-doc-syntax.sh
index c446d26..129065d 100755
--- a/doc/reference/check-doc-syntax.sh
+++ b/doc/reference/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/git.mk b/git.mk
index d88d409..6c5617b 100644
--- a/git.mk
+++ b/git.mk
@@ -162,7 +162,7 @@ $(srcdir)/.gitignore: Makefile.am $(top_srcdir)/git.mk
} | \
sed "s ^/`echo "$(srcdir)" | sed 's/\(.\)/[\1]/g'`/@/@" | \
sed 's@/[.]/@/@g' | \
- LANG=C sort | uniq > $ tmp && \
+ LC_ALL=C sort | uniq > $ tmp && \
mv $ tmp $@;
all: $(srcdir)/.gitignore gitignore-recurse-maybe
diff --git a/src/check-doc-syntax.sh b/src/check-doc-syntax.sh
index b530270..3da5417 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
prefix=vte
PREFIX=VTE
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]