[Pkg-awstats-devel] please fix debian/rules for script-not-executable ./usr/share/awstats/tools/awstats_buildstaticpages.pl
Ken Neighbors
ken at nsds.com
Thu Apr 22 19:03:15 UTC 2010
I am building the latest awstats from git.debian.org and received the
following lint warning message:
> W: awstats: script-not-executable ./usr/share/awstats/tools/awstats_buildstaticpages.pl
> N:
> N: This file starts with the #! sequence that marks interpreted scripts,
> N: but it is not executable.
I fixed it in debian/rules by adding parentheses around
"-name '*.pl' -o -name '*.sh'":
> # Set scripts executable - and unset other files
> binary-fixup/awstats::
> find $(DEB_DESTDIR)/usr/share/awstats -type f -exec chmod -x '{}' +
> find $(DEB_DESTDIR)/usr/share/awstats/tools $(DEB_DESTDIR)/usr/share/doc/awstats/examples \
> \( -name '*.pl' -o -name '*.sh' \) -exec chmod +x '{}' +
Hope this helps.
Thank you for maintaining this package.
Ken
More information about the Pkg-awstats-devel
mailing list