diff options
author | Nick White <git@njw.me.uk> | 2009-09-11 19:10:20 +0100 |
---|---|---|
committer | Nick White <git@njw.me.uk> | 2009-09-11 19:10:20 +0100 |
commit | 6cf58b46037cf04915fa507813ab7419db2e45ec (patch) | |
tree | 26469beaec879503310d6f881687992e02e48084 /prepare-release.sh | |
parent | f4d24550e476b4de65698faad2b023ea84942120 (diff) |
Updated release preparation scriptv0.2
Diffstat (limited to 'prepare-release.sh')
-rwxr-xr-x | prepare-release.sh | 4 |
1 files 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 |