Page MenuHomeFreeBSD

shebangfix: allow to use SHEBANG_REGEX, SHEBANG_GLOB and SHEBANG_FILES simultaneously
ClosedPublic

Authored by AMDmi3 on Jul 12 2017, 7:41 PM.
Tags
None
Referenced Files
F170897614: D11572.diff
Mon, Sep 7, 10:15 AM
F170897522: D11572.diff
Mon, Sep 7, 10:15 AM
F170896479: D11572.id30779.diff
Mon, Sep 7, 9:59 AM
Unknown Object (File)
Jul 19 2026, 4:04 PM
Unknown Object (File)
Jul 18 2026, 7:52 PM
Unknown Object (File)
Jul 18 2026, 7:24 PM
Unknown Object (File)
Jul 12 2026, 8:35 AM
Unknown Object (File)
Jun 30 2026, 1:03 AM
Subscribers

Details

Summary

A need to fix shebangs in a lot of files is common, and it's also
not uncommon to have to fix several classes of files simultaneously,
for example *.py everywhere in WRKSRC and also all files in scripts/.
For this purpose, one needs to use SHEBANG_GLOB and SHEBANG_FILES at
the same time, while code does not currently allow that. Let's fix this.

Diff Detail

Repository
rP FreeBSD ports repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable