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
F161038181: D11572.id30700.diff
Tue, Jun 30, 1:03 AM
Unknown Object (File)
Fri, Jun 26, 11:17 AM
Unknown Object (File)
Tue, Jun 23, 4:02 AM
Unknown Object (File)
Mon, Jun 22, 12:46 AM
Unknown Object (File)
Apr 27 2026, 9:06 AM
Unknown Object (File)
Apr 23 2026, 8:11 AM
Unknown Object (File)
Apr 18 2026, 10:07 PM
Unknown Object (File)
Apr 15 2026, 9:31 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