HomeFreeBSD

Fix "file is executable, but no shebang" warnings

Description

Fix "file is executable, but no shebang" warnings

Fedora 28's RPM build checks warn when executable files don't have a
shebang line. These warnings are caused when we (incorrectly)
include data & config files in the_SCRIPTS automake lines. Files in
_SCRIPTS are marked executable by automake. This patch fixes the
issue by including non-executable scripts in a _DATA line instead.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Reviewed-by: Giuseppe Di Natale <dinatale2@llnl.gov>
Signed-off-by: Tony Hutter <hutter2@llnl.gov>
Closes #7359
Closes #7395

Details

Provenance
Tony Hutter <hutter2@llnl.gov>Authored on Apr 6 2018, 11:34 PM
Brian Behlendorf <behlendorf1@llnl.gov>Committed on Apr 6 2018, 11:34 PM
Parents
rG812323bb03ce: Exclude python scripts from RPM shebang check
Branches
Unknown
Tags
Unknown

Event Timeline

Brian Behlendorf <behlendorf1@llnl.gov> committed rG6c9af9e8f4a2: Fix "file is executable, but no shebang" warnings (authored by Tony Hutter <hutter2@llnl.gov>).Apr 6 2018, 11:34 PM