summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick White <git@njw.me.uk>2009-09-11 19:10:20 +0100
committerNick White <git@njw.me.uk>2009-09-11 19:10:20 +0100
commit6cf58b46037cf04915fa507813ab7419db2e45ec (patch)
tree26469beaec879503310d6f881687992e02e48084
parentf4d24550e476b4de65698faad2b023ea84942120 (diff)
Updated release preparation scriptv0.2
-rwxr-xr-xprepare-release.sh4
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