Skip to content

Commit

Permalink
Fixed bug wiht tail
Browse files Browse the repository at this point in the history
git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@893 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
  • Loading branch information
Peter Aronsson committed Jan 14, 2003
1 parent 19923d8 commit fdd90b7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion configure
Expand Up @@ -2906,7 +2906,7 @@ if test -d /home/pelab/pkg/gnu/lib ; then
echo "$as_me:$LINENO: result: yes" >&5
echo "${ECHO_T}yes" >&6
else
readlinelib=`find /usr/lib /usr/local/lib -name libreadline.a | tail - 1 | awk -F/ '{ total="";for (i = 1 ; i < NF; i++) total= total $i "/"; print total}'`
readlinelib=`find /usr/lib /usr/local/lib -name libreadline.a | tail -1 | awk -F/ '{ total="";for (i = 1 ; i < NF; i++) total= total $i "/"; print total}'`
if test -z "$readlinelib" ; then
echo "$as_me:$LINENO: result: no" >&5
echo "${ECHO_T}no" >&6
Expand Down
2 changes: 1 addition & 1 deletion configure.in
Expand Up @@ -113,7 +113,7 @@ if test -d /home/pelab/pkg/gnu/lib ; then
AC_MSG_RESULT([yes])
else
dnl Check in standard paths
readlinelib=`find /usr/lib /usr/local/lib -name libreadline.a | tail - 1 | awk -F/ '{ total="";for (i = 1 ; i < NF; i++) total= total $i "/"; print total}'`
readlinelib=`find /usr/lib /usr/local/lib -name libreadline.a | tail -1 | awk -F/ '{ total="";for (i = 1 ; i < NF; i++) total= total $i "/"; print total}'`
if test -z "$readlinelib" ; then
AC_MSG_RESULT([no])
AC_MSG_ERROR([Could not find readline lib file])
Expand Down

0 comments on commit fdd90b7

Please sign in to comment.