summaryrefslogtreecommitdiff
path: root/utilities
diff options
context:
space:
mode:
authorFrode Nordahl <frode.nordahl@canonical.com>2022-07-08 08:52:59 +0200
committerIlya Maximets <i.maximets@ovn.org>2022-07-12 15:45:42 +0200
commitcfba9515851832ff63d208528576b281a49309d0 (patch)
tree40e2d94f612f5341b46e83bbf38ba860b0a1eb0f /utilities
parent23d496ac50d49870881e91cd1e58dcb7e303d319 (diff)
downloadopenvswitch-cfba9515851832ff63d208528576b281a49309d0.tar.gz
utilities/bashcomp: Fix incorrect file mode.
The bash completion scripts shipped with Open vSwitch currently have the executable bit set. This is problematic because the files do not start with a shebang and as such a user may end up executing them using the wrong shell. When installed in a system the bash shell will source these files and not execute them. This also triggers Debian lintian warnings [0] and defies Debian policy [1]. 0: https://lintian.debian.org/tags/executable-not-elf-or-script 1: https://www.debian.org/doc/debian-policy/ch-files.html#scripts Fixes: 423ede182b65 ("utilities: Add bash command-line completion script.") Signed-off-by: Frode Nordahl <frode.nordahl@canonical.com> Signed-off-by: Ilya Maximets <i.maximets@ovn.org>
Diffstat (limited to 'utilities')
-rw-r--r--[-rwxr-xr-x]utilities/ovs-appctl-bashcomp.bash0
-rw-r--r--[-rwxr-xr-x]utilities/ovs-vsctl-bashcomp.bash0
2 files changed, 0 insertions, 0 deletions
diff --git a/utilities/ovs-appctl-bashcomp.bash b/utilities/ovs-appctl-bashcomp.bash
index 4384be8ae..4384be8ae 100755..100644
--- a/utilities/ovs-appctl-bashcomp.bash
+++ b/utilities/ovs-appctl-bashcomp.bash
diff --git a/utilities/ovs-vsctl-bashcomp.bash b/utilities/ovs-vsctl-bashcomp.bash
index fc8245bfb..fc8245bfb 100755..100644
--- a/utilities/ovs-vsctl-bashcomp.bash
+++ b/utilities/ovs-vsctl-bashcomp.bash