Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Handle BSD checksum and file utilities #14690

Merged
merged 2 commits into from
Jul 8, 2024

Commits on Jun 27, 2024

  1. Handle BSD checksum utilities

    The BSDs have different checksum utilities than GNU systems do. If we
    don't see the GNU checksum utilities installed, use the BSD ones, as
    their output is compatible enough.
    
    Addresses part of phpGH-14688.
    NattyNarwhal committed Jun 27, 2024
    Configuration menu
    Copy the full SHA
    df13613 View commit details
    Browse the repository at this point in the history
  2. Prefer GNU touch

    BSD touch at least in macOS does not handle local timezone in the
    timestamp (like 2024-06-27T10:26:23-03:00). As such, try GNU touch (as
    ports systems almost always prefix with g if coreutils is installed) and
    prefer that if available. It's not the end of the world though if GNU
    touch isn't available, as BSD touch on some systems may support it, and
    if it doesn't, then it's just timestamps, nothing too serious.
    NattyNarwhal committed Jun 27, 2024
    Configuration menu
    Copy the full SHA
    47a6deb View commit details
    Browse the repository at this point in the history