This fixes the following warning when building Open vSwitch on the
openSUSE Build Service:

---
W: non-executable-script 
/usr/share/bash-completion/completions/ovs-appctl-bashcomp.bash
This text file contains a shebang or is located in a path dedicated for
executables, but lacks the executable bits and cannot thus be executed.
If the file is meant to be an executable script, add the executable bits,
otherwise remove the shebang or move the file elsewhere.
---

The file is meant to be sourced instead of executed, so we can simply
drop the shebang.

Signed-off-by: Markos Chandras <[email protected]>
---
 utilities/ovs-appctl-bashcomp.bash | 1 -
 1 file changed, 1 deletion(-)

diff --git a/utilities/ovs-appctl-bashcomp.bash 
b/utilities/ovs-appctl-bashcomp.bash
index f7fb83047..4384be8ae 100755
--- a/utilities/ovs-appctl-bashcomp.bash
+++ b/utilities/ovs-appctl-bashcomp.bash
@@ -1,4 +1,3 @@
-#!/bin/bash
 #
 # A bash command completion script for ovs-appctl.
 #
-- 
2.18.0

_______________________________________________
dev mailing list
[email protected]
https://mail.openvswitch.org/mailman/listinfo/ovs-dev

Reply via email to