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)
Fri, Feb 20, 9:45 PM
Unknown Object (File)
Sun, Feb 8, 8:18 AM
Unknown Object (File)
Sat, Feb 7, 8:03 PM
Unknown Object (File)
Jan 31 2026, 3:14 PM
Unknown Object (File)
Jan 21 2026, 2:35 AM
Unknown Object (File)
Jan 12 2026, 10:11 PM
Unknown Object (File)
Jan 11 2026, 10:33 AM
Unknown Object (File)
Dec 29 2025, 8:21 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