Menu

#24 usage of `date` does not work on macOS / BSD

v1.0 (example)
closed-fixed
None
5
2021-11-25
2021-11-22
Eric3
No

In Common/mkversion.sh, the call to date becomes, for example, date -u -d@1635638250. This only works on GNU date. For BSD date, I had to manually change it to call date -u -r1635638250 instead. See: https://github.com/Homebrew/homebrew-core/pull/89802

Discussion

  • Paul Mattes

    Paul Mattes - 2021-11-23

    I will take care of this ASAP.

     
  • Paul Mattes

    Paul Mattes - 2021-11-23
    • assigned_to: Paul Mattes
     
  • Paul Mattes

    Paul Mattes - 2021-11-25

    The fix for this has been committed to the 4.1 and master branches.

     
  • Paul Mattes

    Paul Mattes - 2021-11-25
    • status: open --> closed-fixed
     

Log in to post a comment.

Auth0 Logo