summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephane Glondu <steph@glondu.net>2009-04-29 23:42:23 +0200
committerJoey Hess <joey@gnu.kitenet.net>2009-05-02 20:43:17 -0400
commitdefe98b290826ce9fd4ee098b3cdccb5513a7f06 (patch)
tree8a1dbc911eb577d7448fb44edbfccb06ecbabe52
parentfb0d34ac16dced24297dcbc3312addee92af0857 (diff)
Fix permissions of *.cmxs files
-rwxr-xr-xdh_fixperms5
1 files changed, 5 insertions, 0 deletions
diff --git a/dh_fixperms b/dh_fixperms
index 1d4a33f..6fa5065 100755
--- a/dh_fixperms
+++ b/dh_fixperms
@@ -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",