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

carnil pushed a commit to branch master
in repository pkg-perl-tools.

commit c851830077dad7fbc8cb2128827b411f343b66df
Author: Salvatore Bonaccorso <car...@debian.org>
Date:   Tue Apr 28 18:04:28 2015 +0200

    examples/b: Use buildpackage subcomand for gbp in case git directory is 
present
---
 examples/b | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/examples/b b/examples/b
index eda276e..78b4f44 100755
--- a/examples/b
+++ b/examples/b
@@ -1,6 +1,7 @@
 #!/bin/sh
 
 # Copyright 2011-2012, gregor herrmann <gre...@debian.org>
+# Copyright 2015, Salvatore Bonaccorso <car...@debian.org>
 # Released under the WTFPL
 
 # "main build script", either calls (svn|git)-buildpackage
@@ -8,12 +9,13 @@
 # or calls buildpackage-pdebuild itself
 
 BUILDER=buildpackage-pdebuild
+BUILDERSUBCMD=
 
 dh_testdir >/dev/null 2>&1 || { echo "Not a source package ..." ; exit 1; }
 
 [ -d .svn ] && BUILDER=svn-buildpackage
-[ -d .git ] && BUILDER=git-buildpackage
+[ -d .git ] && BUILDER=gbp BUILDERSUBCMD=buildpackage
 
 [ -x "$(command -v $BUILDER)" ] || { echo "BUILDER $BUILDER doesn't exist or 
is not executable ..." ; exit 1; }
 
-exec $BUILDER "$@"
+exec $BUILDER $BUILDERSUBCMD "$@"

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-perl/packages/pkg-perl-tools.git

_______________________________________________
Pkg-perl-cvs-commits mailing list
Pkg-perl-cvs-commits@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-perl-cvs-commits

Reply via email to