summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorGuido Günther <agx@sigxcpu.org>2009-04-05 19:03:34 +0200
committerGuido Günther <agx@sigxcpu.org>2009-04-05 19:03:49 +0200
commit829db7cea1de6f17e6e6a4a205ccd767bc3d3ea5 (patch)
tree834d4293e699021a420aa6c1b2263aa77e0bb131 /examples
parente4db34b4adf1434581c76e7c58d6927f8d50154b (diff)
downloadgit-buildpackage-829db7cea1de6f17e6e6a4a205ccd767bc3d3ea5.tar.gz
git-buildpackage-829db7cea1de6f17e6e6a4a205ccd767bc3d3ea5.tar.bz2
git-buildpackage-829db7cea1de6f17e6e6a4a205ccd767bc3d3ea5.zip
pass GBP_BUILD_DIR to the build command
this allows hooks to figure out where to copy back the build result. Adjust the cowbuilder example accordingly.
Diffstat (limited to 'examples')
-rwxr-xr-xexamples/gbp-cowbuilder-sid1
1 files changed, 1 insertions, 0 deletions
diff --git a/examples/gbp-cowbuilder-sid b/examples/gbp-cowbuilder-sid
index bcbf1483..4021f23c 100755
--- a/examples/gbp-cowbuilder-sid
+++ b/examples/gbp-cowbuilder-sid
@@ -30,6 +30,7 @@ case $ACTION in
# pass all options to dpkg-buildpackage:
pdebuild --configfile ${CONF} \
--pbuilder cowbuilder \
+ --buildresult ${GBP_BUILD_DIR}/.. \
--debbuildopts "-i\.git/ -I.git $*" \
-- $OPTS
;;