de-verbose cp
This commit is contained in:
parent
e9cb88ca38
commit
4d94e40ddd
1 changed files with 2 additions and 2 deletions
4
doc/special_remotes/external/example.sh
vendored
4
doc/special_remotes/external/example.sh
vendored
|
@ -87,7 +87,7 @@ while read line; do
|
|||
# XXX when possible, send PROGRESS
|
||||
calclocation "$key"
|
||||
mkdir -p "$(dirname "$LOC")"
|
||||
if runcmd cp -v "$file" "$LOC"; then
|
||||
if runcmd cp "$file" "$LOC"; then
|
||||
echo TRANSFER-SUCCESS STORE "$key"
|
||||
else
|
||||
echo TRANSFER-FAILURE STORE "$key"
|
||||
|
@ -98,7 +98,7 @@ while read line; do
|
|||
# the key, outputting to the file.
|
||||
# XXX when easy to do, send PROGRESS
|
||||
calclocation "$key"
|
||||
if runcmd cp -v "$LOC" "$file"; then
|
||||
if runcmd cp "$LOC" "$file"; then
|
||||
echo TRANSFER-SUCCESS RETRIEVE "$key"
|
||||
else
|
||||
echo TRANSFER-FAILURE RETRIEVE "$key"
|
||||
|
|
Loading…
Reference in a new issue