mirror of
https://github.com/irssi/irssi.git
synced 2024-11-03 04:27:19 -05: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:
parent
344585ef39
commit
b7aa6d0232
@ -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)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user