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
Unknown Object (File)
Wed, Jan 21, 2:35 AM
Unknown Object (File)
Mon, Jan 12, 10:11 PM
Unknown Object (File)
Sun, Jan 11, 10:33 AM
Unknown Object (File)
Mon, Dec 29, 8:21 AM
Unknown Object (File)
Dec 23 2025, 10:54 AM
Unknown Object (File)
Nov 16 2025, 3:12 PM
Unknown Object (File)
Nov 13 2025, 9:52 PM
Unknown Object (File)
Nov 12 2025, 2:16 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
No Lint Coverage
Unit
No Test Coverage
Build Status
Buildable 10455
Build 10865: arc lint + arc unit