mirror_zfs/tests/zfs-tests/tests/functional/truncate/Makefile.am
Tony Hutter 6c9af9e8f4 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
2018-04-06 16:34:21 -07:00

19 lines
418 B
Makefile

include $(top_srcdir)/config/Rules.am
pkgdatadir = $(datadir)/@PACKAGE@/zfs-tests/tests/functional/truncate
dist_pkgdata_SCRIPTS = \
setup.ksh \
cleanup.ksh \
truncate_001_pos.ksh \
truncate_002_pos.ksh \
truncate_timestamps.ksh
dist_pkgdata_DATA = \
truncate.cfg
pkgexecdir = $(datadir)/@PACKAGE@/zfs-tests/tests/functional/truncate
pkgexec_PROGRAMS = truncate_test
truncate_test_SOURCES = truncate_test.c