1
0
mirror of https://github.com/irssi/irssi.git synced 2024-09-01 04:14:16 -04:00

head -1 -> head -n 1 which is more standard

git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3111 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
Timo Sirainen 2003-04-07 19:59:51 +00:00 committed by cras
parent 344585ef39
commit b7aa6d0232

View File

@ -917,8 +917,8 @@ fi
dnl **
dnl ** IRSSI_VERSION_DATE and IRSSI_VERSION_TIME
dnl **
VERSION_DATE=`head -1 $srcdir/ChangeLog|sed 's/^\(....\)-\(..\)-\(..\).*/\1\2\3/'`
VERSION_TIME=`head -1 $srcdir/ChangeLog|sed -e 's/^[[^ ]]* \(..\):\(..\).*/\1\2/' -e 's/^0*//'`
VERSION_DATE=`head -n 1 $srcdir/ChangeLog|sed 's/^\(....\)-\(..\)-\(..\).*/\1\2\3/'`
VERSION_TIME=`head -n 1 $srcdir/ChangeLog|sed -e 's/^[[^ ]]* \(..\):\(..\).*/\1\2/' -e 's/^0*//'`
AC_SUBST(VERSION_DATE)
AC_SUBST(VERSION_TIME)