summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorMichael Koch <konqueror@gmx.de>2005-01-19 09:52:36 +0000
committerMichael Koch <konqueror@gmx.de>2005-01-19 09:52:36 +0000
commit3bb8f1f44ce851c9dcb0c1a4e96bca43fb8d5b4d (patch)
tree86afabed428fbf8bdc1bd5de5ce19c81cb21340e /scripts
parent1796013a1e22a4ca6402f4764f1e689874882b64 (diff)
downloadclasspath-3bb8f1f44ce851c9dcb0c1a4e96bca43fb8d5b4d.tar.gz
2005-01-19 Michael Koch <konqueror@gmx.de>
* scripts/check_jni_methods.sh: Call sed with LC_ALL=C.
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/check_jni_methods.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/check_jni_methods.sh b/scripts/check_jni_methods.sh
index 5871853aa..587b8792b 100755
--- a/scripts/check_jni_methods.sh
+++ b/scripts/check_jni_methods.sh
@@ -7,13 +7,13 @@ TMPFILE3=check-jni-methods.$$.3
# Find all methods defined in the header files generated
# from the java source files.
grep -h '^JNIEXPORT .* Java_' include/*.h | \
- sed -e 's,.*JNICALL \(Java_[a-z_A-Z0-9]*\).*$,\1,' | \
+ LC_ALL=C sed -e 's,.*JNICALL \(Java_[a-z_A-Z0-9]*\).*$,\1,' | \
sort > $TMPFILE
# Find all methods in the JNI C source files.
find native/jni -name \*.c | \
xargs grep -h '^Java_' | \
- sed -e 's,^\(Java_[a-z_A-Z0-9]*\) *(.*$,\1,' | \
+ LC_ALL=C sed -e 's,^\(Java_[a-z_A-Z0-9]*\) *(.*$,\1,' | \
sort > $TMPFILE2
# Write temporary ignore file.