mirror of
https://github.com/hashicorp/vault.git
synced 2026-05-28 04:10:44 -04:00
Use rsync in push script to avoid differing 'cp' behavior on OSX/Linux
This commit is contained in:
parent
2b1ddc4a7b
commit
9dc8f3a164
1 changed files with 1 additions and 1 deletions
|
|
@ -19,7 +19,7 @@ while [ -h "$SOURCE" ] ; do SOURCE="$(readlink "$SOURCE")"; done
|
|||
DIR="$( cd -P "$( dirname "$SOURCE" )/.." && pwd )"
|
||||
|
||||
# Copy into tmpdir
|
||||
cp -R $DIR/website/ $DEPLOY/
|
||||
rsync -avP $DIR/website/ $DEPLOY/
|
||||
|
||||
# Change into that directory
|
||||
pushd $DEPLOY &>/dev/null
|
||||
|
|
|
|||
Loading…
Reference in a new issue