]> git.ipfire.org Git - thirdparty/squid.git/commit
Maintenance: source maintenance script improvements (#1220)
authorgkinkie@gmail.com <kinkie@squid-cache.org>
Fri, 30 Dec 2022 18:07:12 +0000 (18:07 +0000)
committerSquid Anubis <squid-anubis@squid-cache.org>
Tue, 3 Jan 2023 09:31:45 +0000 (09:31 +0000)
commitc18dbaf92ba1740117d9bb90b4ad882471ac9e2c
tree6e9aa54cb3f979d853e99a5fce09ad2035cda32c
parent50562b7b52227a3b0e6e6dd8471456eb61059d70
Maintenance: source maintenance script improvements (#1220)

- Allow passing astyle program name via ASTYLE environment variable.
- By default, use "astyle-3.1" if present or "astyle" otherwise.
- Add an option to format changed source files only.

No changes to the default behavior except for environments where a
program named "astyle-3.1" is present but a program named "astyle" was
previously used.
scripts/source-maintenance.sh