diff --git a/ChangeLog b/ChangeLog index d799de0a0..b105cf6dc 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2006-07-25 Henning Meier-Geinitz + + * tools/libtool-get-dll-ext: Fixed compilation problem with newer + tail programs which don't understand "-1" (bug #303630). + 2006-07-17 m. allan noah * backend/fujitsu.c: backend v1.0.39, rewrite contrast slope diff --git a/tools/libtool-get-dll-ext b/tools/libtool-get-dll-ext index a516d4522..722e67641 100755 --- a/tools/libtool-get-dll-ext +++ b/tools/libtool-get-dll-ext @@ -13,7 +13,7 @@ fi lafile=$1 libnames=`grep library_names= $lafile` -last=`echo $libnames | cut -d\' -f2|tr " " "\n"|tail -1` +last=`echo $libnames | cut -d\' -f2|tr " " "\n"|tail -n 1` dllend=`echo $last | cut -d. -f2` echo $dllend