From: Peter van Dijk Date: Mon, 22 Apr 2013 18:16:53 +0000 (+0000) Subject: fix set-version-auth after recent autoconf changes X-Git-Tag: auth-3.3-rc1~167 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=7cff29b74d0b682d9202e4e1dafa1488a1346898;p=thirdparty%2Fpdns.git fix set-version-auth after recent autoconf changes git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@3174 d19b8d6e-7fed-0310-83ef-9ca221ded41b --- diff --git a/build-scripts/set-version-auth b/build-scripts/set-version-auth index 06bfa09757..1ea0df6a4c 100755 --- a/build-scripts/set-version-auth +++ b/build-scripts/set-version-auth @@ -3,5 +3,5 @@ VERSION=$1 [ -z "$VERSION" ] && exit ssed -r "s/Version: (.*)/Version: \\1.$VERSION/" -i pdns.spec -ssed -r "s/AM_INIT_AUTOMAKE\\(pdns, (.*)\\)/AM_INIT_AUTOMAKE\(pdns, \\1.$VERSION\)/" -i configure.ac +ssed -r "s/AC_INIT\\(\\[pdns\\],\\[(.*)\\]\\)/AC_INIT\([pdns],[\\1.$VERSION\])/" -i configure.ac ssed -r "1 s/^pdns \\(([^)]*)-([0-9.])\\)/pdns \\(\\1.$VERSION-\\2\\)/" -i debian-pdns/changelog