From 5c55b3fd0817129d6ca7adc6c4f2a3f41438b0fe Mon Sep 17 00:00:00 2001 From: Pierre Pronchery Date: Tue, 2 Oct 2012 21:27:35 +0000 Subject: [PATCH] Also set the distribution when using "dch" --- src/deforaos-package.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/deforaos-package.sh b/src/deforaos-package.sh index 02f9ea1..6964e5f 100755 --- a/src/deforaos-package.sh +++ b/src/deforaos-package.sh @@ -210,7 +210,8 @@ _debian_changelog() #FIXME really implement [ -z "$DEBFULLNAME" ] && DEBFULLNAME="$FULLNAME" [ -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 [ $? -eq 127 ] && return 0 }