Skip to content

Can't use "/" in additional files #110

Description

@Salamandar

Checklist

  • This Feature Request only contains 1 request (if you have multiple open multiple feature requests).

The idea

I was trying to add something like helpers/helpers.v2.1.d/* to additional_files, and it did not work.

After some local tests, find told me:

find: warning: '-name' matches against basenames only, but the given pattern contains a directory separator ('/'), thus the expression will evaluate to false all the time.  Did you mean '-wholename'?

So… Maybe use -wholename instead of -name ? :D

EDIT: https://www.gnu.org/software/findutils/manual/html_node/find_html/Full-Name-Patterns.html says -path is more portable than -wholename.

Activity

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

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions