]> git.saurik.com Git - apt.git/blobdiff - prepare-release
test: use a multiarch capable dpkg rather than workaround
[apt.git] / prepare-release
index c5e28edc3af8d312303a721870faf2faf08650c6..2d8502d7f4734fe6fd4a7f69df82823521965286 100755 (executable)
@@ -39,7 +39,8 @@ if [ "$1" = 'pre-export' ]; then
                make update-po
        fi
 
-       sed -i -e "s/^PACKAGE_VERSION=\".*\"$/PACKAGE_VERSION=\"${VERSION}\"/" configure.in
+       sed -i -e "s/^PACKAGE_VERSION=\".*\"$/PACKAGE_VERSION=\"${VERSION}\"/" configure.ac
+       sed -i -e "s/^<!ENTITY apt-product-version \".*\">$/<!ENTITY apt-product-version \"${VERSION}\">/" doc/apt-verbatim.ent
 elif [ "$1" = 'post-build' ]; then
        if [ "$DISTRIBUTION" != "UNRELEASED" ]; then
                echo >&2 "REMEMBER: Tag this release with »bzr tag ${VERSION}« if you are satisfied"