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 28 2024, 6:14 PM
Unknown Object (File)
Sep 28 2024, 6:14 PM
Unknown Object (File)
Sep 28 2024, 6:14 PM
Unknown Object (File)
Sep 28 2024, 6:04 PM
Unknown Object (File)
Sep 26 2024, 1:28 AM
Unknown Object (File)
Sep 26 2024, 1:28 AM
Unknown Object (File)
Sep 26 2024, 1:24 AM
Unknown Object (File)
Sep 26 2024, 1:15 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