Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 904055 - ruby-utils.eclass: add ruby_fix_shebangs function to fix shebangs (like python_fix_shebangs)
Summary: ruby-utils.eclass: add ruby_fix_shebangs function to fix shebangs (like pytho...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Eclasses (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Ruby Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-04-09 04:47 UTC by Sam James
Modified: 2023-04-09 17:52 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-04-09 04:47:50 UTC
Sometimes we need to fix shebangs from e.g. '#!/usr/bin/env ruby' -> '#!${RUBY}' (this came up in bug 771744).

We should add a ruby_fix_shebangs like Python's python_fix_shebangs from python-utils-r1.eclass.