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
Unknown Object (File)
Sun, Oct 27, 12:14 PM
Unknown Object (File)
Fri, Oct 25, 5:09 AM
Unknown Object (File)
Oct 1 2024, 4:40 AM
Unknown Object (File)
Sep 30 2024, 9:28 AM
Unknown Object (File)
Sep 24 2024, 5:46 AM
Unknown Object (File)
Sep 21 2024, 2:14 PM
Unknown Object (File)
Sep 17 2024, 9:25 PM
Unknown Object (File)
Sep 11 2024, 11:45 PM
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.