[SCM] Debian Qt/KDE packaging tools branch, master, updated. debian/0.15.12-2-g8d958d5

Maximiliano Curia maxy at moszumanska.debian.org
Tue Jan 14 15:53:42 UTC 2014


Gitweb-URL: http://git.debian.org/?p=pkg-kde/pkg-kde-tools.git;a=commitdiff;h=8d958d5

The following commit has been merged in the master branch:
commit 8d958d56f4ff75bd115bf76a4d8fcfbb71e79bad
Author: Maximiliano Curia <maxy at debian.org>
Date:   Tue Jan 14 12:52:43 2014 -0300

    Fix "Useless use of \E at" warning in dhmk.pl.
---
 debian/changelog      | 2 +-
 qt-kde-team/2/dhmk.pl | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index b0f2be1..b628bb8 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,6 +1,6 @@
 pkg-kde-tools (0.15.13) UNRELEASED; urgency=medium
 
-  * 
+  * Fix "Useless use of \E at" warning in dhmk.pl.
 
  -- Maximiliano Curia <maxy at debian.org>  Tue, 14 Jan 2014 12:49:44 -0300
 
diff --git a/qt-kde-team/2/dhmk.pl b/qt-kde-team/2/dhmk.pl
index df84aa3..a65b9d1 100755
--- a/qt-kde-team/2/dhmk.pl
+++ b/qt-kde-team/2/dhmk.pl
@@ -111,7 +111,7 @@ sub remove_command_options {
         if (!@opts) {
             delete $extra_cmd_opts{$command};
         } else {
-            my $re = "(\Q" . join("\E|\Q", @opts) . "\E)";
+            my $re = "(" . join("|", map {"\Q$_\E"} @opts) . ")";
             $extra_cmd_opts{$command} = [ grep { !/^$re$/ } @{$extra_cmd_opts{$command}} ];
         }
     }

-- 
Debian Qt/KDE packaging tools



More information about the pkg-kde-commits mailing list