HomeFreeBSD

installworld: improve portability of ldd use

Description

installworld: improve portability of ldd use

b3b462229f97 added a case statement to ignore lines containing strings
in square brackets such as "[vdso]" and "[preloaded]". On MacOS
Monterey where /bin/sh may be zsh, this fails with:

/bin/sh: -c: line 0: syntax error near unexpected token `;;'

Invoke grep in the pipeline to remove such lines instead.

Reviewed by: emaste
Sponsored by: DARPA, AFRL
Differential Revision: https://reviews.freebsd.org/D35618

Details

Provenance
brooksAuthored on Jul 1 2022, 7:33 AM
Reviewer
emaste
Differential Revision
D35618: installworld: improve portability of ldd use
Parents
rG3b8d04f845b4: igc: Change default duplex setting
Branches
Unknown
Tags
Unknown