Checklist
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.
Checklist
The idea
I was trying to add something like
helpers/helpers.v2.1.d/*toadditional_files, and it did not work.After some local tests,
findtold me:So… Maybe use
-wholenameinstead of-name? :DEDIT: https://www.gnu.org/software/findutils/manual/html_node/find_html/Full-Name-Patterns.html says
-pathis more portable than-wholename.