From 429ebf217bd72fc28de6816bbbfeaf9ce006ecd9 Mon Sep 17 00:00:00 2001 From: Chris Wright Date: Thu, 8 Dec 2011 23:36:04 -0800 Subject: [PATCH] utilities: install ovs-lib.sh as data not a script Currently, ovs-lib.sh is installed as an executable. It's meant to be sourced by external scripts, so install as data. Fixes rpmlint error: E: script-without-shebang /usr/share/openvswitch/scripts/ovs-lib.sh Could drop the .sh suffix in another commit. Signed-off-by: Chris Wright Signed-off-by: Ben Pfaff --- Makefile.am | 2 ++ utilities/automake.mk | 3 ++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/Makefile.am b/Makefile.am index 51441cee..46de7fb3 100644 --- a/Makefile.am +++ b/Makefile.am @@ -59,6 +59,7 @@ dist_pkgdata_DATA = dist_pkgdata_SCRIPTS = dist_sbin_SCRIPTS = dist_scripts_SCRIPTS = +dist_scripts_DATA = INSTALL_DATA_LOCAL = UNINSTALL_LOCAL = man_MANS = @@ -74,6 +75,7 @@ OVSIDL_BUILT = pkgdata_DATA = sbin_SCRIPTS = scripts_SCRIPTS = +scripts_DATA = SUFFIXES = check_DATA = diff --git a/utilities/automake.mk b/utilities/automake.mk index df94dd1e..1c8a56b9 100644 --- a/utilities/automake.mk +++ b/utilities/automake.mk @@ -13,7 +13,8 @@ bin_SCRIPTS += \ utilities/ovs-vlan-test endif noinst_SCRIPTS += utilities/ovs-pki-cgi -scripts_SCRIPTS += utilities/ovs-ctl utilities/ovs-lib.sh utilities/ovs-save +scripts_SCRIPTS += utilities/ovs-ctl utilities/ovs-save +scripts_DATA += utilities/ovs-lib.sh EXTRA_DIST += \ utilities/ovs-ctl.in \ -- 2.30.2