[DRE-commits] [pkg-ruby-extras] 01/02: build-and-upload: fix check for gem2deb in Build-Depends

Antonio Terceiro terceiro at moszumanska.debian.org
Tue Mar 15 16:20:20 UTC 2016


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

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

commit 007bc4762f7ee097c2941b750c83d61df0906442
Author: Antonio Terceiro <terceiro at debian.org>
Date:   Tue Mar 15 13:19:11 2016 -0300

    build-and-upload: fix check for gem2deb in Build-Depends
---
 build-and-upload | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/build-and-upload b/build-and-upload
index 7e7321c..fb2819c 100755
--- a/build-and-upload
+++ b/build-and-upload
@@ -64,7 +64,7 @@ check_package() {
     warning "Lintian reported ERRORS in the package!"
   fi
 
-  if grep -q Build-Depends:.*gem2deb debian/control; then
+  if grep-dctrl -q -F Build-Depends gem2deb debian/control; then
     banner "Rubygems integration"
     debc | grep 'gemspec$' | sed 's/.*\s//'
     echo

-- 
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