summaryrefslogtreecommitdiffstats
path: root/update
diff options
context:
space:
mode:
authorKevin Mitchell <kevmitch@math.sfu.ca>2014-02-04 20:18:37 -0800
committerwm4 <wm4@nowhere>2014-02-06 14:37:27 +0100
commitcc99a492bbf430e4277b782149ca9464661ce90c (patch)
tree8a61bfc54707f98b4d356cecdc184963e8f92583 /update
parent9a96ddffe471870679d03655ea7b2a52f842e9a1 (diff)
downloadmpv-build-cc99a492bbf430e4277b782149ca9464661ce90c.tar.bz2
mpv-build-cc99a492bbf430e4277b782149ca9464661ce90c.tar.xz
Better changelog hack in separate script called from ./update.
dpkg-buildpackage reads the changelog before ever calling debian/rules, so its not a good idea to change it from there. Move this to a separate script called from ./update which does not depend on any debian-specific commands.
Diffstat (limited to 'update')
-rwxr-xr-xupdate7
1 files changed, 7 insertions, 0 deletions
diff --git a/update b/update
index 7a7ee9e..ef9d171 100755
--- a/update
+++ b/update
@@ -75,6 +75,11 @@ do_bootstrap()
scripts/mpv-bootstrap
}
+do_update_debian_versions()
+{
+ scripts/debian-update-versions $1
+}
+
if [ x"$1" != x"--skip-selfupdate" ]; then
(
set -ex
@@ -98,4 +103,6 @@ case "$1" in
;;
esac
+do_update_debian_versions $1
+
do_bootstrap