aboutsummaryrefslogtreecommitdiff
path: root/scripts/auto-build/auto-build-common
diff options
context:
space:
mode:
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
+}