summaryrefslogtreecommitdiff
path: root/irssi-version.sh
diff options
context:
space:
mode:
authorAlexander Færøy <ahf@0x90.dk>2015-09-20 23:02:51 +0200
committerAlexander Færøy <ahf@0x90.dk>2015-09-20 23:02:51 +0200
commit5c3ef84a0ba3cde0d9e2586fcb618d81851776f5 (patch)
tree455884f29e605cb35066d1e831dc4e65065212b4 /irssi-version.sh
parent6c9dcffb5ef6b0f024f5ab6d335b69ef79e4daa5 (diff)
downloadirssi-5c3ef84a0ba3cde0d9e2586fcb618d81851776f5.zip
Undefine PACKAGE_VERSION before overwriting it.
Diffstat (limited to 'irssi-version.sh')
-rwxr-xr-xirssi-version.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/irssi-version.sh b/irssi-version.sh
index 1e9eae34..1fc6a558 100755
--- a/irssi-version.sh
+++ b/irssi-version.sh
@@ -22,6 +22,7 @@ if echo "${VERSION}" | grep -q -- -head; then
# Because the git tag won't yet include the next release we modify the git
# describe output using the version defined from configure.ac.
version="${new_version}-$(echo "${git_version}" | sed 's/^.*-[0-9]\+-//')"
+ echo "#undef PACKAGE_VERSION"
echo "#define PACKAGE_VERSION \"${version}\""
fi
fi