diff options
author | Wouter Coekaerts <coekie@irssi.org> | 2005-02-22 00:05:06 +0000 |
---|---|---|
committer | coekie <coekie@dbcabf3a-b0e7-0310-adc4-f8d773084564> | 2005-02-22 00:05:06 +0000 |
commit | a809cecda81bfc2c630eb2a55a25cf72ef7d767c (patch) | |
tree | a8cd2d2b7871209f267ddec7e6e686d94914adba /configure.in | |
parent | 47b5dcb538891caf4e7cd77fe1b3cbc07767f85b (diff) | |
download | irssi-a809cecda81bfc2c630eb2a55a25cf72ef7d767c.zip |
Byebye stupid tail problems on Solaris. Hi, Mr. grep
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3711 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/configure.in b/configure.in index f3b8a14d..1405bf48 100644 --- a/configure.in +++ b/configure.in @@ -913,8 +913,8 @@ fi dnl ** dnl ** IRSSI_VERSION_DATE and IRSSI_VERSION_TIME dnl ** -VERSION_DATE=`head -n 2 $srcdir/ChangeLog| tail -1 | awk '{print $5}' | tr -d '-'` -VERSION_TIME=`head -n 2 $srcdir/ChangeLog| tail -1 | awk '{print $6}' | awk -F: '{printf "%d\n", $1$2}'` +VERSION_DATE=`head -n 2 $srcdir/ChangeLog| grep '^r' | awk '{print $5}' | tr -d '-'` +VERSION_TIME=`head -n 2 $srcdir/ChangeLog| grep '^r' | awk '{print $6}' | awk -F: '{printf "%d\n", $1$2}'` AC_SUBST(VERSION_DATE) AC_SUBST(VERSION_TIME) |