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, Nov 16, 3:12 PM
Unknown Object (File)
Thu, Nov 13, 9:52 PM
Unknown Object (File)
Wed, Nov 12, 2:16 AM
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
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