]> jfr.im git - irc/irssi/irssi.git/commitdiff
Undefine PACKAGE_VERSION before overwriting it.
authorAlexander Færøy <redacted>
Sun, 20 Sep 2015 21:02:51 +0000 (23:02 +0200)
committerAlexander Færøy <redacted>
Sun, 20 Sep 2015 21:02:51 +0000 (23:02 +0200)
irssi-version.sh

index 1e9eae34637c6a1b41653d43537e19a1b154b056..1fc6a558d15eb5322cecb27011849d25b7bed3fa 100755 (executable)
@@ -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