[SCM] Debian package checker branch, master, updated. 2.2.2-39-g601fbd1
The following commit has been merged in the master branch:
commit c50e615abef7ed49dbb611f096b03c6043efe5dc
Author: Raphael Geissert <atomo64@gmail.com>
Date: Mon Feb 2 21:15:09 2009 -0600
Massage the index a bit by stripping the main directory name
diff --git a/unpack/unpack-srcpkg-l1 b/unpack/unpack-srcpkg-l1
index 970fb95..854cfe7 100755
--- a/unpack/unpack-srcpkg-l1
+++ b/unpack/unpack-srcpkg-l1
@@ -80,7 +80,7 @@ if (!$tarball) {
# create index file for package
spawn({ fail => 'error', out => "$base_dir/index" },
["tar", "tfv", $tarball],
- '|', ["sed", "-e", "s/^h/-/"],
+ '|', ['perl', '-p -w -E', 's,^(([^\s]+\s+){5})[^/]+,$1.,;s,^h,-,'],
'|', ["sort", "-k", "6"]);
# Create symbolic links to binary packages
--
Debian package checker
Reply to: