[devscripts] 01/01: dcmd: Correctly filter .buildinfo files.

Adam D. Barratt adam at adam-barratt.org.uk
Tue Mar 15 21:23:08 UTC 2016


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

adsb pushed a commit to branch master
in repository devscripts.

commit 87099e51926d18ebaf3d8b0d31172f39debca471
Author: Adam D. Barratt <adam at adam-barratt.org.uk>
Date:   Tue Mar 15 21:22:25 2016 +0000

    dcmd: Correctly filter .buildinfo files.
    
    This also avoids listing .dsc files twice.  (Closes: #818275)
    
    Signed-off-by: Adam D. Barratt <adam at adam-barratt.org.uk>
---
 debian/changelog | 5 +++++
 scripts/dcmd.sh  | 1 +
 2 files changed, 6 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index c4cb0ca..2c4255b 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -43,6 +43,11 @@ devscripts (2.16.2) UNRELEASED; urgency=medium
   * mk-build-deps:
     + Typo fix. Closes: #770642
 
+  [ Adam D. Barratt ]
+  * dcmd:
+    + Correctly filter .buildinfo files.  This also avoids listing .dsc
+      files twice.  (Closes: #818275)
+
  -- Osamu Aoki <osamu at debian.org>  Sat, 13 Feb 2016 22:10:05 +0900
 
 devscripts (2.16.1) unstable; urgency=medium
diff --git a/scripts/dcmd.sh b/scripts/dcmd.sh
index 2c6406c..ef3d6e3 100755
--- a/scripts/dcmd.sh
+++ b/scripts/dcmd.sh
@@ -207,6 +207,7 @@ $THISARG\";"
 		[ "$DSC" = "0" ] || echo "newarg=\"\$newarg
 $THISARG\";"
 		echo "SEEN_DSC=1;"
+	    elif endswith "$THISARG" .buildinfo; then
 		[ "$BUILDINFO" = "0" ] || echo "newarg=\"\$newarg
 $THISARG\";"
 		echo "SEEN_BUILDINFO=1;"

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/collab-maint/devscripts.git



More information about the devscripts-devel mailing list