Fix - Copy Dir ignores hidden files on macOS (#1188)

This commit is contained in:
Laurence Tews 2024-04-07 07:15:15 +10:00 committed by GitHub
parent 3d3d646016
commit 5c34b7136f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -90,7 +90,7 @@ def copy_dir_contents_to_dir(source, target):
# do something more complext for this environment. # do something more complext for this environment.
return """\ return """\
if [[ -d "{source}" ]]; then if [[ -d "{source}" ]]; then
cp -L -R "{source}"/* "{target}" cp -L -R "{source}"/ "{target}"
else else
cp -L -R "{source}" "{target}" cp -L -R "{source}" "{target}"
fi fi