[DRE-commits] [pkg-ruby-extras] 01/02: upload: reuse common gbp-buildpackage options

Antonio Terceiro terceiro at moszumanska.debian.org
Wed Mar 2 17:15:20 UTC 2016


This is an automated email from the git hooks/post-receive script.

terceiro pushed a commit to branch quick-start
in repository pkg-ruby-extras.

commit b4a63375cf278b620782973f7dd2c26ab130146e
Author: Antonio Terceiro <terceiro at debian.org>
Date:   Wed Mar 2 11:44:20 2016 -0300

    upload: reuse common gbp-buildpackage options
---
 upload | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/upload b/upload
index 1c8a1ad..e94d08b 100755
--- a/upload
+++ b/upload
@@ -139,11 +139,11 @@ if [ "$host" = 'security-master' ] || dpkg-parsechangelog | grep -q CVE; then
   fi
 fi
 
-buildprogram=gbp\ buildpackage\ --git-ignore-branch
+gbp_buildpackage=gbp\ buildpackage\ --git-ignore-branch\ --git-export-dir=../build-area
 
 # build
 if [ "$BUILD" = 'yes' ]; then
-  gbp buildpackage $git_builder "$@"
+  $gbp_buildpackage $git_builder "$@"
 fi
 
 changes=${source}_${version}_${arch}.changes
@@ -170,7 +170,7 @@ ask_to_proceed "Proceed with the upload to \033[38;1;1m${host}\033[m? [y/N] "
 git checkout .
 git clean -dxf
 
-gbp buildpackage --git-tag-only --git-ignore-branch
+$gbp_buildpackage --git-tag-only --git-ignore-branch
 
 SOURCE=yes
 NEW=no
@@ -193,7 +193,7 @@ if [ $(grep -c "^${source}\s" debian/changelog) -eq 1 ]; then
 fi
 
 if [ $SOURCE = yes ]; then
-  $buildprogram -S "$@"
+  $gbp_buildpackage -S "$@"
   changes=${changes%%_${arch}.changes}_source.changes
 fi
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/pkg-ruby-extras.git



More information about the Pkg-ruby-extras-commits mailing list