HomeFreeBSD

depend-cleanup.sh: Extend clean_dep to support a custom regex

Description

depend-cleanup.sh: Extend clean_dep to support a custom regex

This will avoid having to duplicate the loop every time the default
regex isn't good enough, and will be used by upcoming commits.

(cherry picked from commit cc30f4ae6790cf4f19bc4787d7528dfea79ef27a)

Pull Request: https://github.com/freebsd/freebsd-src/pull/1543

Details

Provenance
jrtc27Authored on Sep 10 2024, 5:54 PM
brooksCommitted on Dec 9 2024, 9:47 PM
Parents
rG91549cf666db: Revert "depend-cleanup: fix after 99b2ab71c5b6"
Branches
Unknown
Tags
Unknown