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)
Sat, Mar 29, 2:36 PM
Unknown Object (File)
Feb 26 2025, 5:17 AM
Unknown Object (File)
Jan 26 2025, 12:27 PM
Unknown Object (File)
Jan 26 2025, 7:39 AM
Unknown Object (File)
Jan 26 2025, 5:17 AM
Unknown Object (File)
Jan 21 2025, 1:25 AM
Unknown Object (File)
Jan 20 2025, 12:21 PM
Unknown Object (File)
Dec 17 2024, 12: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