summaryrefslogtreecommitdiff
path: root/prepare-release
diff options
context:
space:
mode:
authorDavid Kalnischkies <david@kalnischkies.de>2014-03-01 22:27:11 +0100
committerDavid Kalnischkies <david@kalnischkies.de>2014-03-13 13:58:45 +0100
commit54298f49d71347616df19b8d2f59c907374e07b3 (patch)
tree3ef781c3c094f9af89b8190b64bd55ea58960e71 /prepare-release
parent655122418d714f342b5d9789f45f8035f3fe8b9a (diff)
downloadapt-54298f49d71347616df19b8d2f59c907374e07b3.tar.gz
move defines for version to macros.h
also adds namespaced attributes for good usage Git-Dch: Ignore
Diffstat (limited to 'prepare-release')
-rwxr-xr-xprepare-release2
1 files changed, 1 insertions, 1 deletions
diff --git a/prepare-release b/prepare-release
index 6229ee1fd..7b7fd1224 100755
--- a/prepare-release
+++ b/prepare-release
@@ -11,7 +11,7 @@ fi
VERSION=$(dpkg-parsechangelog | sed -n -e '/^Version:/s/^Version: //p')
DISTRIBUTION=$(dpkg-parsechangelog | sed -n -e '/^Distribution:/s/^Distribution: //p')
-LIBAPTPKGVERSION="$(awk -v ORS='.' '/^\#define APT_PKG_M/ {print $3}' apt-pkg/init.h | sed 's/\.$//')"
+LIBAPTPKGVERSION="$(awk -v ORS='.' '/^\#define APT_PKG_M/ {print $3}' apt-pkg/contrib/macros.h | sed 's/\.$//')"
LIBAPTINSTVERSION="$(egrep '^MAJOR=' apt-inst/makefile |cut -d '=' -f 2)"
librarysymbolsfromfile() {