complex_doit("find $tmp ! -type l $find_options -print0",
"2>/dev/null | xargs -0r chmod go=rX,u+rw,a-s");
- # Fix up premissions in usr/share/doc, setting everything to not
+ # Fix up permissions in usr/share/doc, setting everything to not
# executable by default, but leave examples directories alone.
complex_doit("find $tmp/usr/share/doc -type f $find_options ! -regex '$tmp/usr/share/doc/[^/]*/examples/.*' -print0 2>/dev/null",
"| xargs -0r chmod 644");
}
# ADA ali files should be mode 444 to avoid recompilation
- if (-d "$tmp/usr/lib/ada") {
- complex_doit("find $tmp/usr/lib/ada -type f",
- "-name '*.ali' $find_options -print0",
- "2>/dev/null | xargs -0r chmod uga-w");
- }
+ complex_doit("find $tmp/usr/lib -type f",
+ "-name '*.ali' $find_options -print0",
+ "2>/dev/null | xargs -0r chmod uga-w");
# Lintian overrides should never be executable, too.
if (-d "$tmp/usr/share/lintian") {