mirror of
https://github.com/irssi/irssi.git
synced 2024-09-01 04:14:16 -04:00
Fix regression introduced in r4906, remove leading zeros from
IRSSI_VERSION_TIME value. git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4913 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
parent
ca5f4ec1f9
commit
25358fa1ec
@ -8,6 +8,6 @@ else
|
|||||||
DATE=`awk -F '|' 'NR == 2{print substr($3, 2)}' "$1"/ChangeLog`
|
DATE=`awk -F '|' 'NR == 2{print substr($3, 2)}' "$1"/ChangeLog`
|
||||||
fi
|
fi
|
||||||
VERSION_DATE=`echo $DATE | cut -f 1 -d ' ' | tr -d -`
|
VERSION_DATE=`echo $DATE | cut -f 1 -d ' ' | tr -d -`
|
||||||
VERSION_TIME=`echo $DATE | cut -f 2 -d ' ' | awk -F : '{print $1 $2}'`
|
VERSION_TIME=`echo $DATE | cut -f 2 -d ' ' | awk -F : '{printf "%d", $1$2}'`
|
||||||
echo "#define IRSSI_VERSION_DATE $VERSION_DATE"
|
echo "#define IRSSI_VERSION_DATE $VERSION_DATE"
|
||||||
echo "#define IRSSI_VERSION_TIME $VERSION_TIME"
|
echo "#define IRSSI_VERSION_TIME $VERSION_TIME"
|
||||||
|
Loading…
Reference in New Issue
Block a user