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)
Sep 20 2025, 2:53 AM
Unknown Object (File)
Sep 11 2025, 8:47 AM
Unknown Object (File)
Sep 6 2025, 9:07 AM
Unknown Object (File)
Sep 5 2025, 8:07 PM
Unknown Object (File)
Sep 5 2025, 6:24 AM
Unknown Object (File)
Aug 19 2025, 4:54 PM
Unknown Object (File)
Aug 4 2025, 1:10 AM
Unknown Object (File)
Jul 27 2025, 3:54 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