Page MenuHomeFreeBSD

installworld: improve portability of ldd use
ClosedPublic

Authored by brooks on Jun 28 2022, 12:40 AM.
Tags
None
Referenced Files
Unknown Object (File)
Feb 7 2024, 9:47 PM
Unknown Object (File)
Jan 16 2024, 10:41 PM
Unknown Object (File)
Dec 20 2023, 6:24 AM
Unknown Object (File)
Sep 27 2023, 6:51 PM
Unknown Object (File)
Sep 2 2023, 11:51 AM
Unknown Object (File)
Sep 2 2023, 8:53 AM
Unknown Object (File)
Sep 2 2023, 4:04 AM
Unknown Object (File)
Aug 31 2023, 7:39 AM
Subscribers

Details

Summary

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.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable