more portable use of tail in java header file detection

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10096 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
William S Fulton 2007-11-09 22:33:00 +00:00
commit 225dfd52aa

View file

@ -793,7 +793,7 @@ else
if test "$JAVAMDDIR" = "" ; then
AC_MSG_RESULT(not found)
else
JAVAMDDIR=`dirname "$JAVAMDDIR" | tail -n 1`
JAVAMDDIR=`dirname "$JAVAMDDIR" | tail -1`
JAVAINC="${JAVAINC} -I\"$JAVAMDDIR\""
AC_MSG_RESULT($JAVAMDDIR)
fi