diff options
author | XZS | 2016-04-22 11:40:44 +0200 |
---|---|---|
committer | XZS | 2016-04-22 11:40:44 +0200 |
commit | 4bded196e62a0c9f72c9b70e1f83b64d1a9add89 (patch) | |
tree | e59ef12d3a2a5c32f7e77133c93c895c87fcf84f | |
parent | c9d6cf46564abb91c17f3ef09ed2d17692804a04 (diff) | |
download | aur-4bded196e62a0c9f72c9b70e1f83b64d1a9add89.tar.gz |
exclude hidden filed in subdirectories
Despite the wild card * not coping hidden files, this does not exclude
such in subdirectories. A reliable method to exclude files by a pattern
like "starting with a dot" would be rsync. But to not pull it in as an
additional dependency, copy and find are preferred.
-rw-r--r-- | PKGBUILD | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -24,7 +24,7 @@ conflicts+=("$_gitname") # Move down repository content for easier access by following functions. prepare() { - cp -rf --reflink=auto "$_gitname"/* . + cp -rfT --reflink=auto "$_gitname" . rm -rf "$_gitname" } |