summaryrefslogtreecommitdiff
path: root/gdb/gdb_indent.sh
diff options
context:
space:
mode:
authorDaniel Jacobowitz <drow@false.org>2006-07-12 18:04:30 +0000
committerDaniel Jacobowitz <drow@false.org>2006-07-12 18:04:30 +0000
commit6e2c7fa123326af40f73d9e7e9738a7eb40275a6 (patch)
tree9fdcbf547a4c684ec65e81a407251df6bf91776f /gdb/gdb_indent.sh
parente0f2823e31950d4ae7d7e5f9338804dd7c0f6dc0 (diff)
downloadbinutils-gdb-6e2c7fa123326af40f73d9e7e9738a7eb40275a6.tar.gz
* Makefile.in (init.c) [LANG, LC_ALL]: Set to `c'.
* gdb_indent.sh, gdb_mbuild.sh, observer.sh: Likewise. * gdbarch.sh: Correct comment.
Diffstat (limited to 'gdb/gdb_indent.sh')
-rwxr-xr-xgdb/gdb_indent.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/gdb/gdb_indent.sh b/gdb/gdb_indent.sh
index 41b95d2642b..115b99521fc 100755
--- a/gdb/gdb_indent.sh
+++ b/gdb/gdb_indent.sh
@@ -3,6 +3,11 @@
# Try to find a GNU indent. There could be a BSD indent in front of a
# GNU gindent so when indent is found, keep looking.
+# Make certain that the script is not running in an internationalized
+# environment.
+LANG=c ; export LANG
+LC_ALL=c ; export LC_ALL
+
gindent=
indent=
paths=`echo $PATH | sed \