[Rpm-maint] [rpm-software-management/rpm] scripts: add brp-mangle-shebangs (#344)

Vít Ondruch notifications at github.com
Thu Nov 2 08:07:16 UTC 2017


>> Drop shebang from non-executable files.. Having shebangs in non-executable files doesn't make sense to me. If you think I'm wrong, I'm ready to listen!
>
> The main reason you might see this is for example scripts in examples or things like that. I'd rather not mangle anything that's installed to %_docdir...

For me it is generators. What would you do with file like this:

https://github.com/bundler/bundler/blob/master/lib/bundler/templates/Executable

Should it have executable bit or not? Should you remove the shebang?

There are some other examples in the directory:

https://github.com/bundler/bundler/tree/master/lib/bundler/templates

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/pull/344#issuecomment-341345725
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20171102/b5ea3b37/attachment.html>


More information about the Rpm-maint mailing list