From 30808de9136d04582d368b7b897c00a533a62b3e Mon Sep 17 00:00:00 2001 From: Sylvestre Ledru Date: Thu, 7 Mar 2013 12:44:51 +0000 Subject: [PATCH] Use the distribution variable if set --- debian/orig-tar.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/debian/orig-tar.sh b/debian/orig-tar.sh index 595067ee..2efbbecb 100755 --- a/debian/orig-tar.sh +++ b/debian/orig-tar.sh @@ -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