浏览代码

dpkg-source: replace tar ignore pattern *~ with */*~

With this change, it can't match the top-level directory anymore
and the source package directory can again end with a tilde without
creating problems.
Raphaël Hertzog 16 年之前
父节点
当前提交
a2e3d77e98
共有 2 个文件被更改,包括 3 次插入1 次删除
  1. 2 0
      debian/changelog
  2. 1 1
      scripts/Dpkg/Source/Package.pm

+ 2 - 0
debian/changelog

@@ -49,6 +49,8 @@ dpkg (1.15.8) UNRELEASED; urgency=low
   * Pass --no-name option to gzip to avoid encoding the timestamp in the file
     so that the result is more predictable. Closes: #587724
     Also pass --rsyncable to make source packages more rsync friendly.
+  * Replace dpkg-source's tar ignore pattern "*~" with "*/*~" to avoid
+    matching on the top level directory. Closes: #588265
 
   [ Guillem Jover ]
   * Require gettext 0.18:

+ 1 - 1
scripts/Dpkg/Source/Package.pm

@@ -62,7 +62,7 @@ our @tar_ignore_default_pattern = qw(
 *.o
 *.so
 .*.sw?
-*~
+*/*~
 ,,*
 .[#~]*
 .arch-ids