[Koha-patches] [PATCH] Bug 5054 - allow the resulting .deb location to be specified
Chris Cormack
chrisc at catalyst.net.nz
Thu Jul 22 05:37:51 CEST 2010
From: Robin Sheat <robin at catalyst.net.nz>
Signed-off-by: Chris Cormack <chrisc at catalyst.net.nz>
---
debian/build-git-snapshot | 8 ++++++--
1 files changed, 6 insertions(+), 2 deletions(-)
diff --git a/debian/build-git-snapshot b/debian/build-git-snapshot
index 4b63141..99475a6 100755
--- a/debian/build-git-snapshot
+++ b/debian/build-git-snapshot
@@ -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
--
1.7.0.4
More information about the Koha-patches
mailing list