utilities: install ovs-lib.sh as data not a script
authorChris Wright <chrisw@sous-sol.org>
Fri, 9 Dec 2011 07:36:04 +0000 (23:36 -0800)
committerBen Pfaff <blp@nicira.com>
Fri, 9 Dec 2011 17:31:38 +0000 (09:31 -0800)
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 <chrisw@sous-sol.org>
Signed-off-by: Ben Pfaff <blp@nicira.com>
Makefile.am
utilities/automake.mk

index 51441cee59ca0e38f6858665b9d88f495fcea57e..46de7fb330db945cdeb4b7451192fe96b5e80acf 100644 (file)
@@ -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 =
 
index df94dd1e80c6a5c60b8b743e86361dea8341d34e..1c8a56b9eaf3f55a8de737d1335200248fe925d8 100644 (file)
@@ -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 \