Page MenuHomeFreeBSD

Fix building when using a shell with -o pipefail for bmake
AcceptedPublic

Authored by arichardson on Aug 23 2018, 11:53 AM.
Tags
None
Referenced Files
Unknown Object (File)
Jan 5 2024, 5:39 PM
Unknown Object (File)
Dec 25 2023, 9:41 AM
Unknown Object (File)
Dec 20 2023, 7:40 AM
Subscribers
None

Details

Reviewers
brooks
emaste
jhb
Summary

When running ldd some of the files (e.g. make) will be statically linked
so ldd will return a non-zero exit status. With -o pipefail this will fail
the whole rule. The source directory for find in delete-old-files might
also not exist so add a || true to make it pass

Diff Detail

Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 19091
Build 18719: arc lint + arc unit