diff options
-rwxr-xr-x | irssi-version.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/irssi-version.sh b/irssi-version.sh index c808e8a6..a20ea9ba 100755 --- a/irssi-version.sh +++ b/irssi-version.sh @@ -8,6 +8,6 @@ else DATE=`awk -F '|' 'NR == 2{print substr($3, 2)}' "$1"/ChangeLog` fi 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_TIME $VERSION_TIME" |