aboutsummaryrefslogtreecommitdiff
path: root/scripts/auto-build/auto-build-common
diff options
context:
space:
mode:
authorHans-Christoph Steiner <eighthave@users.sourceforge.net>2012-10-03 23:37:55 +0000
committerHans-Christoph Steiner <eighthave@users.sourceforge.net>2012-10-03 23:37:55 +0000
commitab1e6244a51ffa6c1c9bf0a38c5b49639bd78d05 (patch)
treed8dc128f2200a8c7357783d11f69ff41848a7152 /scripts/auto-build/auto-build-common
parent1efe6b3a3fa6a7e08be4b8d8576cb4212d7972d9 (diff)
use the version from pd/src/m_pd.h to set the package version in the debian/changelog
svn path=/trunk/; revision=16323
Diffstat (limited to 'scripts/auto-build/auto-build-common')
-rw-r--r--scripts/auto-build/auto-build-common8
1 files changed, 8 insertions, 0 deletions
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
+}