From d56df039427b0ede2e042a9eb52d91148ee4751d Mon Sep 17 00:00:00 2001 From: Henning Geinitz Date: Tue, 25 Jul 2006 18:34:44 +0000 Subject: [PATCH] Fixed compilation problem with newer tail programs which don't understand "-1" (bug #303630). --- ChangeLog | 5 +++++ tools/libtool-get-dll-ext | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) 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