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)
Sun, Jul 19, 4:04 PM
Unknown Object (File)
Sat, Jul 18, 7:52 PM
Unknown Object (File)
Sat, Jul 18, 7:24 PM
Unknown Object (File)
Sun, Jul 12, 8:35 AM
Unknown Object (File)
Tue, Jun 30, 1:03 AM
Unknown Object (File)
Fri, Jun 26, 11:17 AM
Unknown Object (File)
Jun 23 2026, 4:02 AM
Unknown Object (File)
Jun 22 2026, 12:46 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