Also set the distribution when using "dch"

This commit is contained in:
Pierre Pronchery 2012-10-02 21:27:35 +00:00
parent 8932e7fb35
commit 5c55b3fd08

View File

@ -210,7 +210,8 @@ _debian_changelog()
#FIXME really implement #FIXME really implement
[ -z "$DEBFULLNAME" ] && DEBFULLNAME="$FULLNAME" [ -z "$DEBFULLNAME" ] && DEBFULLNAME="$FULLNAME"
[ -z "$DEBEMAIL" ] && DEBEMAIL="$EMAIL" [ -z "$DEBEMAIL" ] && DEBEMAIL="$EMAIL"
$DCH --create --package "$pkgname" --newversion "$VERSION-$revision" $DCH --create --distribution "unstable" \
--package "$pkgname" --newversion "$VERSION-$revision"
#XXX ignore errors if the command is not installed #XXX ignore errors if the command is not installed
[ $? -eq 127 ] && return 0 [ $? -eq 127 ] && return 0
} }