From 6cf58b46037cf04915fa507813ab7419db2e45ec Mon Sep 17 00:00:00 2001 From: Nick White Date: Fri, 11 Sep 2009 19:10:20 +0100 Subject: Updated release preparation script --- prepare-release.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/prepare-release.sh b/prepare-release.sh index a681e23..23d4cab 100755 --- a/prepare-release.sh +++ b/prepare-release.sh @@ -20,8 +20,8 @@ TMPDIR="/tmp" ORIGDIR=$(pwd) -VERSION=$(gawk -F \" '{print $2}' src/version.h | \ - sed -e ':a;N;$!ba;s/\n//g') +VERSION=$(grep AC_INIT configure.ac | \ + awk -F \[ '{print $3}' | awk -F \] '{print $1}') echo Packaging GetHT version $VERSION -- cgit v1.2.3