[SCM] Debian package checker branch, lab-refactor, updated. 2.5.3-142-gb09f31c
The following commit has been merged in the lab-refactor branch:
commit 9ea841be95ae9364a24dc48630970f95b377f926
Author: Niels Thykier <niels@thykier.net>
Date: Wed Oct 26 08:37:17 2011 +0200
Replace ":" with "_" in the lab pool
Many tools use colons as path separator and it is accepted in the
version of a package.
Signed-off-by: Niels Thykier <niels@thykier.net>
diff --git a/lib/Lintian/Lab.pm b/lib/Lintian/Lab.pm
index 6b42a2e..f76e914 100644
--- a/lib/Lintian/Lab.pm
+++ b/lib/Lintian/Lab.pm
@@ -336,6 +336,8 @@ sub _pool_path {
# Turn spaces into dashes - spaces do appear in architectures
# (i.e. for changes files).
$p =~ s/\s/-/go;
+ # Also replace ":" with "_" as : is usually used for path separator
+ $p =~ s/:/_/go;
return "$dir/pool/$p";
}
--
Debian package checker
Reply to: