Skip to content

Commit

Permalink
Keep on the path if assets have subdirectories
Browse files Browse the repository at this point in the history
  • Loading branch information
tobystokes committed Dec 6, 2017
1 parent 04408b1 commit 26309c7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/pull_assets.sh
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ fi
# Pull down the asset dir files via rsync
for DIR in "${LOCAL_ASSETS_DIRS[@]}"
do
rsync -F -L -a -z -e "ssh -p ${REMOTE_SSH_PORT}" "${REMOTE_SSH_LOGIN}:${REMOTE_ASSETS_PATH}${DIR}" "${LOCAL_ASSETS_PATH}" --delete-after --progress
rsync -F -L -a -z -e "ssh -p ${REMOTE_SSH_PORT}" "${REMOTE_SSH_LOGIN}:${REMOTE_ASSETS_PATH}${DIR}" "${LOCAL_ASSETS_PATH}${DIR%/*}" --delete-after --progress
echo "*** Synced assets from ${REMOTE_ASSETS_PATH}${DIR}"
done

Expand Down

0 comments on commit 26309c7

Please sign in to comment.