From ab1e6244a51ffa6c1c9bf0a38c5b49639bd78d05 Mon Sep 17 00:00:00 2001 From: Hans-Christoph Steiner Date: Wed, 3 Oct 2012 23:37:55 +0000 Subject: use the version from pd/src/m_pd.h to set the package version in the debian/changelog svn path=/trunk/; revision=16323 --- scripts/auto-build/auto-build-common | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'scripts/auto-build/auto-build-common') diff --git a/scripts/auto-build/auto-build-common b/scripts/auto-build/auto-build-common index d74fd411..74ee0cea 100644 --- a/scripts/auto-build/auto-build-common +++ b/scripts/auto-build/auto-build-common @@ -176,3 +176,11 @@ make_source_tarball() tar --directory $rootdir --exclude-vcs \ -cjpf /tmp/$debian_tarballname debian } + +set_debian_changelog_version() +{ + version=$1 + rootdir=$2 + sed -i "s|^pd-extended (.*)|pd-extended ($version-1)|" \ + $rootdir/debian/changelog +} -- cgit v1.2.1