mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2026-06-01 11:44:16 +03:00
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
This commit is contained in:
committed by
Brian Behlendorf
parent
812323bb03
commit
6c9af9e8f4
@@ -1,6 +1,5 @@
|
||||
pkgdatadir = $(datadir)/@PACKAGE@/zfs-tests/tests/functional/cli_user/misc
|
||||
dist_pkgdata_SCRIPTS = \
|
||||
misc.cfg \
|
||||
setup.ksh \
|
||||
cleanup.ksh \
|
||||
zdb_001_neg.ksh \
|
||||
@@ -49,3 +48,6 @@ dist_pkgdata_SCRIPTS = \
|
||||
arc_summary_002_neg.ksh \
|
||||
arc_summary3_001_pos.ksh \
|
||||
dbufstat_001_pos.ksh
|
||||
|
||||
dist_pkgdata_DATA = \
|
||||
misc.cfg
|
||||
|
||||
@@ -1,7 +1,5 @@
|
||||
pkgdatadir = $(datadir)/@PACKAGE@/zfs-tests/tests/functional/cli_user/zfs_list
|
||||
dist_pkgdata_SCRIPTS = \
|
||||
zfs_list.cfg \
|
||||
zfs_list.kshlib \
|
||||
setup.ksh \
|
||||
cleanup.ksh \
|
||||
zfs_list_001_pos.ksh \
|
||||
@@ -10,3 +8,7 @@ dist_pkgdata_SCRIPTS = \
|
||||
zfs_list_004_neg.ksh \
|
||||
zfs_list_007_pos.ksh \
|
||||
zfs_list_008_neg.ksh
|
||||
|
||||
dist_pkgdata_DATA = \
|
||||
zfs_list.cfg \
|
||||
zfs_list.kshlib
|
||||
|
||||
Reference in New Issue
Block a user