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)
Wed, Sep 23, 4:27 AM
Unknown Object (File)
Fri, Sep 11, 8:09 AM
Unknown Object (File)
Wed, Sep 9, 3:04 PM
Unknown Object (File)
Mon, Sep 7, 10:15 AM
Unknown Object (File)
Mon, Sep 7, 10:15 AM
Unknown Object (File)
Mon, Sep 7, 9:59 AM
Unknown Object (File)
Jul 19 2026, 4:04 PM
Unknown Object (File)
Jul 18 2026, 7:52 PM
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