31 |
# Compare again silently. |
# Compare again silently. |
32 |
if diff -ub -0 $TMPFILE $TMPFILE2 | grep '^[+-]Java' | grep -q -v -f $TMPFILE3; |
if diff -ub -0 $TMPFILE $TMPFILE2 | grep '^[+-]Java' | grep -q -v -f $TMPFILE3; |
33 |
then |
then |
34 |
|
PROBLEM=1 |
35 |
echo "Found a problem with the JNI methods declared and implemented." |
echo "Found a problem with the JNI methods declared and implemented." |
36 |
echo "(-) missing in implementation, (+) missing in header files" |
echo "(-) missing in implementation, (+) missing in header files" |
37 |
|
|
42 |
# Cleanup. |
# Cleanup. |
43 |
rm -f $TMPFILE $TMPFILE2 $TMPFILE3 |
rm -f $TMPFILE $TMPFILE2 $TMPFILE3 |
44 |
|
|
45 |
if test "$RESULT" = "0" ; then |
if test "$PROBLEM" = "1" ; then |
46 |
exit 1 |
exit 1 |
47 |
fi |
fi |
48 |
|
|