Skip to content

Mac OSX + Makefile Problem with find -daytime #120

Closed

Description

@bryanhanson

Looks like Apple does not implement find -daytime in any shell they offer. There are several possible workarounds that do roughly the same thing. Here's the offending line in Makefile:

DESCRIPTION: $(shell find hyperSpec -maxdepth 1 -ctime 1 -not -ctime 0 -name "DESCRIPTION") #only if not modified today

One option is to replace -daytime with -ctime 1 which checks if the file has been modified in the last 24 hrs.

Activity

  1. added a commit that references this issue on May 13, 2020
  2. ximeg commented on May 13, 2020

    @ximeg
    Collaborator

    Closed after merged PR #122

  3. bryanhanson commented on May 19, 2020

    @bryanhanson
    CollaboratorAuthor

    We are not getting the right dates from the changes I made.

  4. ximeg commented on May 19, 2020

    @ximeg
    Collaborator

    Well, actually if we address the sematic versioning issue #123 , we won't need to place current date into DESCRIPTION anymore. (It is also annoying to see the hyperSpec/DESCRIPTION file changed every time I build the package - git starts to complain about this file when I want to change the branch)

  5. bryanhanson commented on May 19, 2020

    @bryanhanson
    CollaboratorAuthor

    Yes, I would like to see #123 fixed sooner rather than later.

  6. bryanhanson commented on May 20, 2020

    @bryanhanson
    CollaboratorAuthor

    Alright, I'll close this as it's really going to be addressed with #123.

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions