Use `cp -vr` instead of `cp -v`

pull/44/head
Arijit Basu 3 years ago
parent 9f78a1fcff
commit 5030749ab1
No known key found for this signature in database
GPG Key ID: 7D7BF809E7378863

@ -674,7 +674,7 @@ impl Default for Config {
messages:
- BashExec: |
(while IFS= read -r line; do
if cp -v "${line:?}" ./; then
if cp -vr "${line:?}" ./; then
echo "LogSuccess: $line copied to $PWD" >> "${XPLR_PIPE_MSG_IN:?}"
else
echo "LogError: failed to copy $line to $PWD" >> "${XPLR_PIPE_MSG_IN:?}"

Loading…
Cancel
Save