[SCM] Git repository for devscripts branch, master, updated. v2.12.2-41-g9dd8852

Christoph Berg myon at debian.org
Wed Sep 5 13:43:08 UTC 2012


The following commit has been merged in the master branch:
commit 9dd8852f017e7443c45c01df632784498e3e98b2
Author: Christoph Berg <myon at debian.org>
Date:   Wed Sep 5 15:43:00 2012 +0200

    dcmd: Allow digits, underscores, and dots in section/component names.

diff --git a/debian/changelog b/debian/changelog
index afd007e..e9773b0 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -35,6 +35,7 @@ devscripts (2.12.3) UNRELEASED; urgency=low
     untranslated scripts
   * dcmd: Reimplement endswith() with case. The original missed quoting and
     made my brain hurt.
+  * dcmd: Allow digits, underscores, and dots in section/component names.
 
  -- Benjamin Drung <bdrung at debian.org>  Thu, 26 Jul 2012 12:17:51 +0200
 
diff --git a/scripts/dcmd.sh b/scripts/dcmd.sh
index bc62176..4c762bb 100755
--- a/scripts/dcmd.sh
+++ b/scripts/dcmd.sh
@@ -60,7 +60,7 @@ endswith()
 # Instead of parsing the file completely as the previous Python
 # implementation did (using python-debian), let's just select lines
 # that look like they might be part of the file list.
-RE="^ [0-9a-f]{32} [0-9]+ ((([a-zA-Z-]+/)?[a-zA-Z1-]+|-) ([a-zA-Z]+|-) )?(.*)$"
+RE="^ [0-9a-f]{32} [0-9]+ ((([a-zA-Z0-9_.-]+/)?[a-zA-Z0-9_.-]+|-) ([a-zA-Z]+|-) )?(.*)$"
 
 maybe_expand()
 {

-- 
Git repository for devscripts



More information about the devscripts-devel mailing list