/[classpath]/classpath/scripts/check_jni_methods.sh
ViewVC logotype

Diff of /classpath/scripts/check_jni_methods.sh

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.7 by mark, Sat Aug 13 13:36:11 2005 UTC revision 1.8 by mark, Sat Aug 13 18:00:14 2005 UTC
# Line 31  EOF Line 31  EOF
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    
# Line 41  fi Line 42  fi
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    

Legend:
Removed from v.1.7  
changed lines
  Added in v.1.8

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26