summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew John Hughes <gnu_andrew@member.fsf.org>2008-02-10 02:26:23 +0000
committerAndrew John Hughes <gnu_andrew@member.fsf.org>2008-02-10 02:26:23 +0000
commit8e2153ffecf0185b077de30455e47a0c75c2f87f (patch)
treea16ddc8113d7710449896e06b89beea030d3cd75
parent2bb32c9b6d03f645f5ba2df0549c9064fa86800c (diff)
downloadclasspath-8e2153ffecf0185b077de30455e47a0c75c2f87f.tar.gz
2008-02-10 Andrew John Hughes <gnu_andrew@member.fsf.org>
* scripts/check_jni_methods.sh.in: Use abs_top_builddir so that the absolute path to the build directory is used by the script.
-rw-r--r--ChangeLog6
-rw-r--r--scripts/check_jni_methods.sh.in2
2 files changed, 7 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 3630380fa..5bfc3dd44 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,11 @@
2008-02-10 Andrew John Hughes <gnu_andrew@member.fsf.org>
+ * scripts/check_jni_methods.sh.in:
+ Use abs_top_builddir so that the absolute path
+ to the build directory is used by the script.
+
+2008-02-10 Andrew John Hughes <gnu_andrew@member.fsf.org>
+
* javax/management/remote/rmi/RMIConnection.java:
(addNotificationListeners(ObjectName[],
MarshalledObject[], Subject[])): Fixed return type.
diff --git a/scripts/check_jni_methods.sh.in b/scripts/check_jni_methods.sh.in
index b9bc7e7d8..d23f11d94 100644
--- a/scripts/check_jni_methods.sh.in
+++ b/scripts/check_jni_methods.sh.in
@@ -9,7 +9,7 @@ TMPFILE3=/tmp/check-jni-methods.$$.3
# Find all methods defined in the header files generated
# from the java source files.
-grep -h '^JNIEXPORT .* Java_' @top_builddir@/include/*.h | \
+grep -h '^JNIEXPORT .* Java_' @abs_top_builddir@/include/*.h | \
LC_ALL=C sed -e 's,.*JNICALL \(Java_[a-z_A-Z0-9]*\).*$,\1,' | \
sort > $TMPFILE