]> www.infradead.org Git - users/hch/nvme-cli.git/commitdiff
bash completion: Remove shebang line
authorJohannes Thumshirn <jthumshirn@suse.de>
Wed, 1 Jun 2016 10:12:59 +0000 (12:12 +0200)
committerJohannes Thumshirn <jthumshirn@suse.de>
Wed, 1 Jun 2016 10:12:59 +0000 (12:12 +0200)
Remove shebang line from bash completion file as rpmlint on openSUSE/SLE
complains about a script ment to be sourced not executed containing a shebang
line.

[   38s] nvme-cli.x86_64: W: sourced-script-with-shebang /etc/bash_completion.d/nvme /usr/bin/env
[   38s] This text file contains a shebang, but is meant to be sourced, not executed.

Signed-off-by: Johannes Thumshirn <jthumshirn@suse.de>
completions/bash-nvme-completion.sh

index 1a8613e34244482a30e1eebf32f659f78f57d72a..6770f34723a3b408c8da69a0ce607e0832865717 100644 (file)
@@ -1,5 +1,3 @@
-#!/usr/bin/env bash
-
 # bash tab completion for the nvme command line utility
 # (unfortunately, bash won't let me add descriptions to cmds)
 # Kelly Kaoudis kelly.n.kaoudis at intel.com, Aug. 2015