Page MenuHomeFreeBSD

etc: Fix distrib-dirs to not rely on a BSDism
ClosedPublic

Authored by jrtc27 on Jul 14 2022, 12:13 AM.
Tags
None
Referenced Files
F91402250: D35811.id108147.diff
Sat, Aug 17, 6:00 PM
Unknown Object (File)
Wed, Aug 7, 5:07 PM
Unknown Object (File)
Tue, Aug 6, 5:08 AM
Unknown Object (File)
Tue, Aug 6, 4:45 AM
Unknown Object (File)
Sat, Jul 27, 2:30 AM
Unknown Object (File)
Jul 4 2024, 1:26 AM
Unknown Object (File)
Jul 2 2024, 6:49 AM
Unknown Object (File)
Jul 2 2024, 6:48 AM
Subscribers
None

Details

Summary

FreeBSD and macOS have a test that treats == as an alias for =, but
Linux tends to use GNU coreutils (when not a builtin) which does not.
Use the standard syntax instead for compatibility.

Obtained from: CheriBSD

Diff Detail

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

Event Timeline

jrtc27 created this revision.
This revision was not accepted when it landed; it landed in state Needs Review.Jul 15 2022, 10:18 PM
This revision was automatically updated to reflect the committed changes.