summaryrefslogtreecommitdiff
path: root/dh_shlibdeps
diff options
context:
space:
mode:
authorJoey Hess <joey@kitenet.net>2013-02-09 17:38:42 -0400
committerJoey Hess <joey@kitenet.net>2013-02-09 17:38:42 -0400
commite9fe3cee83cdcc4df978fb1761009dfc124add92 (patch)
treef2d4ecd5770787bfff5290dbabc8d9a755c35b65 /dh_shlibdeps
parent7765a25a48492d2d971c836c8e609422c540d721 (diff)
Avoid find -perm +mode breakage caused by findutils 4.5.11, by instead using -perm /mode. Closes: #700200
Diffstat (limited to 'dh_shlibdeps')
-rwxr-xr-xdh_shlibdeps2
1 files changed, 1 insertions, 1 deletions
diff --git a/dh_shlibdeps b/dh_shlibdeps
index a41732fc..260a749a 100755
--- a/dh_shlibdeps
+++ b/dh_shlibdeps
@@ -133,7 +133,7 @@ foreach my $package (@{$dh{DOPACKAGES}}) {
if (defined($dh{EXCLUDE_FIND}) && $dh{EXCLUDE_FIND} ne '') {
$find_options="! \\( $dh{EXCLUDE_FIND} \\)";
}
- foreach my $file (split(/\n/,`find $tmp -type f \\( -perm +111 -or -name "*.so*" -or -name "*.cmxs" \\) $find_options -print`)) {
+ foreach my $file (split(/\n/,`find $tmp -type f \\( -perm /111 -or -name "*.so*" -or -name "*.cmxs" \\) $find_options -print`)) {
# Prune directories that contain separated debug symbols.
next if $file=~m!^\Q$tmp\E/usr/lib/debug/(lib|lib64|usr|bin|sbin|opt|dev|emul)/!;
# TODO this is slow, optimize. Ie, file can run once on