Skip to content

Fix macOS compatibility in tools/log.sh#741

Open
Kunal241207 wants to merge 1 commit intoprecice:developfrom
Kunal241207:fix-macos-log-sh
Open

Fix macOS compatibility in tools/log.sh#741
Kunal241207 wants to merge 1 commit intoprecice:developfrom
Kunal241207:fix-macos-log-sh

Conversation

@Kunal241207
Copy link

Summary

tools/log.sh used GNU-specific flags that are not available on macOS.

This change makes the script portable by:

  • Replacing date --rfc-email with a helper that falls back to a compatible date format when the flag is unavailable.
  • Replacing tee --append with the portable tee -a.

The behavior of the script remains the same, but it now works correctly on macOS systems.


Checklist:

  • I added a summary of any user-facing changes (compared to the last release) in the changelog-entries/<PRnumber>.md.
  • I will remember to squash-and-merge, providing a useful summary of the changes of this PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant