Bug 5054 - allow the resulting .deb location to be specified

Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
This commit is contained in:
Robin Sheat 2010-07-22 15:37:51 +12:00 committed by Galen Charlton
parent 18a1c3db11
commit 7d44072156
1 changed files with 6 additions and 2 deletions

View File

@ -46,7 +46,7 @@ reset_debian_changelog() {
build_package() {
git archive --format=tar --prefix="koha-$1/" HEAD |
gzip -9 > "../koha_$1.tar.gz"
pdebuild
pdebuild $2
}
if ! everything_is_commited
@ -55,6 +55,10 @@ then
fi
version="$(newversion)"
if [ -n "$1" ]
then
pdebuildopts="--buildresult $1"
fi
adjust_debian_changelog "$version"
build_package "$version"
build_package "$version" "$pdebuildopts"
reset_debian_changelog