From 225dfd52aaeaa9366ca957aaee5638c29adbb7ee Mon Sep 17 00:00:00 2001 From: William S Fulton Date: Fri, 9 Nov 2007 22:33:00 +0000 Subject: [PATCH] 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 --- configure.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.in b/configure.in index d09137a8b..d789c0022 100644 --- a/configure.in +++ b/configure.in @@ -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