https://bugzilla.redhat.com/show_bug.cgi?id=587978



--- Comment #33 from Mamoru TASAKA <mtas...@fedoraproject.org> ---
(In reply to Otto Urpelainen from comment #31)

> 3. Fixing env shebangs should not be required in Fedora anymore. If this is
> still needed for some reason (RHEL perhaps?), comment should be updated to
> match
> 
> > # Fedora using Rubypick
> > sed -i -e 's|#!/usr/bin/env ruby|#!/usr/bin/ruby|; s|#!/bin/env 
> > ruby|#!/usr/bin/ruby|;' \
>     whatweb plugin-development/find-common-stuff
> plugin-development/get-pattern
> 
> Reference:
> https://docs.fedoraproject.org/en-US/packaging-guidelines/Ruby/
> #_shebang_lines
> 

This does not say using env on shabang is permitted. The above guideline says
when the package really needs jruby,
you can write "#!/usr/bin/jruby" on shebang (but I don't think jruby on Fedora
is well-maintained).
All other should use "#!/usr/bin/ruby" on shebang. Anyway env should not be
used on shebang.


-- 
You are receiving this mail because:
You are always notified about changes to this product and component
_______________________________________________
package-review mailing list -- package-review@lists.fedoraproject.org
To unsubscribe send an email to package-review-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/package-review@lists.fedoraproject.org
Do not reply to spam on the list, report it: 
https://pagure.io/fedora-infrastructure

Reply via email to