view debian/daily-build.sh @ 31860:32a214ee10e5

Restore hunk previously removed in r31354. This fixes a crash with http://samples.mplayerhq.hu/MPEG2/libmpeg2-crash.vob
author diego
date Fri, 06 Aug 2010 23:44:31 +0000
parents c9f9a077d760
children 4551864b8e69
line wrap: on
line source

#!/bin/sh

# wrapper around dpkg-buildpackage to generate correct changelog
# use "debian/daily-build.sh -b" to create binary packages
# and "debian/daily-build.sh -S" to create a source package only

LC_ALL=C svn info 2> /dev/null | grep Revision | cut -d' ' -f2
version=$(LC_ALL=C svn info 2> /dev/null | grep Revision | cut -d' ' -f2)

# ensure correct directory
test -r debian/control || exit 1

rm debian/changelog
dch --create --empty --package mplayer -v 2:1.0~svn${version} "Daily build"

dpkg-buildpackage -us -uc "$@"