about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorAlexander Barton <alex@barton.de>2003-01-04 10:39:14 +0000
committerAlexander Barton <alex@barton.de>2003-01-04 10:39:14 +0000
commit1bf0426aaf2d2eaade13a75e2ccf054db4e079a7 (patch)
treecd7eb9bcdc4bc027d252ddbe4cccf46426da466b /src
parent8139505829d253e89264761583588e34aa776867 (diff)
downloadngircd-1bf0426aaf2d2eaade13a75e2ccf054db4e079a7.tar.gz
ngircd-1bf0426aaf2d2eaade13a75e2ccf054db4e079a7.zip
- Fixed call of tail, should be more portable now ...
Diffstat (limited to 'src')
-rw-r--r--src/ngircd/Makefile.am4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ngircd/Makefile.am b/src/ngircd/Makefile.am
index 34bb71ff..62458e40 100644
--- a/src/ngircd/Makefile.am
+++ b/src/ngircd/Makefile.am
@@ -9,7 +9,7 @@
 # Naehere Informationen entnehmen Sie bitter der Datei COPYING. Eine Liste
 # der an ngIRCd beteiligten Autoren finden Sie in der Datei AUTHORS.
 #
-# $Id: Makefile.am,v 1.34 2003/01/02 16:42:33 alex Exp $
+# $Id: Makefile.am,v 1.35 2003/01/04 10:39:14 alex Exp $
 #
 
 AUTOMAKE_OPTIONS = ../portab/ansi2knr
@@ -66,7 +66,7 @@ ngircd.c: cvs-date cvs-version.h
 cvs-date:
 	grep VERSION ../config.h | grep "CVS" \
 	 && echo "#define CVSDATE \"$$( grep "\$$Id" $(srcdir)/*.c \
-	    | $(AWK) "{ print \$$9 }" | sort | tail -n 1 \
+	    | $(AWK) "{ print \$$9 }" | sort | tail -1 \
 	    | sed -e "s/\//-/g" )\"" > cvs-version.new \
 	 || echo "" > cvs-version.new
 	diff cvs-version.h cvs-version.new || cp cvs-version.new cvs-version.h