]> git.donarmstrong.com Git - debhelper.git/commitdiff
Fix permissions of *.cmxs files
authorStephane Glondu <steph@glondu.net>
Wed, 29 Apr 2009 21:42:23 +0000 (23:42 +0200)
committerJoey Hess <joey@gnu.kitenet.net>
Sun, 3 May 2009 00:43:17 +0000 (20:43 -0400)
dh_fixperms

index 1d4a33f33d6954f0a1d27fdb3a93bf53441d6720..6fa5065287f54517e1fc78cfc0f611c9155f5ce4 100755 (executable)
@@ -82,6 +82,11 @@ foreach my $package (@{$dh{DOPACKAGES}}) {
        # ..and desktop files ..
        complex_doit("find $tmp/usr/share/applications -type f $find_options -print0",
                "2>/dev/null | xargs -0r chmod 644");
+
+       # ..and OCaml native-code shared objects ..
+       complex_doit("find $tmp -perm -5 -type f",
+               "\\( -name '*.cmxs' \\) $find_options -print0",
+               "2>/dev/null | xargs -0r chmod 644");
        
        # .. and perl modules.
        complex_doit("find $tmp/usr/lib/perl5 $tmp/usr/share/perl5 -type f",