GNOME Bugzilla – Bug 756582
please drop shebang from bash completion file
Last modified: 2018-01-21 13:38:15 UTC
Those completion files are meant to be sourced, not executed directly.
Created attachment 313317 [details] [review] [PATCH] Drop shebang from bash completion
Review of attachment 313317 [details] [review]: Why not keep it though? What difference does it make?
just following best practice here. No other bash completion file has a shebang (as said, those are meant to be sourced) and our automated test tool lintian keeps flagging /usr/share/bash-completion/completions/gnome-control-center, so it seemed reasonable to fix that for good upstream.
(In reply to Michael Biebl from comment #3) > just following best practice here. > No other bash completion file has a shebang (as said, those are meant to be > sourced) and our automated test tool lintian keeps flagging > /usr/share/bash-completion/completions/gnome-control-center, so it seemed > reasonable to fix that for good upstream. Would be good to mention that in the commit message in the first place :)
Waiting on an updated patch.
Created attachment 367171 [details] [review] completion: Drop shebang Updating the commit message.
Thanks for the patch. Closing the bug. Attachment 367171 [details] pushed as 385cd85 - completion: Drop shebang