Skip to content

Commit c5520c9

Browse files
nelsonamaya82ataylorme
authored andcommitted
Use "-r" instead of "-a" in rsync
`-a` tracks file permissions, when all we need for our purposes is to copy recursively.
1 parent 5a7c8f3 commit c5520c9

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.circleci/config.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ jobs:
136136
# Rsync the build artifact pieces web directory
137137
- run:
138138
name: sync build artifact
139-
command: rsync -az /tmp/web /tmp/vendor .
139+
command: rsync -rz /tmp/web /tmp/vendor .
140140

141141
# Deploy to Pantheon
142142
- run:

scripts/composer/cleanup-composer

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
set -ex
55

66
if [ -d "web/wp/wp-content/mu-plugins/" ]; then
7-
rsync -a web/wp/wp-content/mu-plugins/* web/wp-content/mu-plugins/
7+
rsync -r web/wp/wp-content/mu-plugins/* web/wp-content/mu-plugins/
88
fi
99

1010
if [ -f "web/wp/wp-config.php" ]; then

0 commit comments

Comments
 (0)