Use the distribution variable if set

This commit is contained in:
Sylvestre Ledru 2013-03-07 12:44:51 +00:00
parent 36d6058a89
commit 30808de913

6
debian/orig-tar.sh vendored
View File

@ -46,6 +46,10 @@ echo "going into $PATH_DEBIAN"
export DEBFULLNAME="Sylvestre Ledru"
export DEBEMAIL="sylvestre@debian.org"
cd $PATH_DEBIAN
dch --distribution experimental --newversion 1:$MAJOR_VERSION~svn$REVISION-1~exp1 "New snapshot release"
if test -z "$DISTRIBUTION"; then
DISTRIBUTION="experimental"
fi
dch --distribution $DISTRIBUTION --newversion 1:$MAJOR_VERSION~svn$REVISION-1~exp1 "New snapshot release"
exit 0