From 3483d2eaf0e3965d521b4b1f0c3fc29a3be642a6 Mon Sep 17 00:00:00 2001 From: Kevin Mitchell Date: Sat, 8 Feb 2014 04:01:26 -0800 Subject: move debian/changelog to debian/changelog.TEMPLATE and drop version control on debian/changelog, which gets modified by scripts/debian-update-version --- scripts/debian-update-versions | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'scripts') diff --git a/scripts/debian-update-versions b/scripts/debian-update-versions index 8102d0d..b496e87 100755 --- a/scripts/debian-update-versions +++ b/scripts/debian-update-versions @@ -19,9 +19,9 @@ get_timestamp_commit() } do_subst() { - sed -i "0,/^mpv (.*)/s/(.*)/(1:$1)/" debian/changelog - sed -i "s/^ \* local build.*/ \* local build with ffmpeg $2, libass $3/" debian/changelog - sed -i "s/\(^ -- Local User \).*/\1 $(date -R)/" debian/changelog + sed -e "0,/^mpv (.*)/s/(.*)/(1:$1)/"\ + -e "s/^ \* local build.*/ \* local build with ffmpeg $2, libass $3/" \ + -e"s/\(^ -- Local User \).*/\1 $(date -R)/" debian/changelog.TEMPLATE > debian/changelog } do_version_all() { -- cgit v1.2.3