Revision 9894
Added by Aaron Marcuse-Kubitza over 11 years ago
lib/sh/sync.sh | ||
---|---|---|
26 | 26 |
src="$local_dir" dest="$remote_url" command put "$@" |
27 | 27 |
} |
28 | 28 |
|
29 |
download() { echo_func; swap=1 upload; } # usage: see upload() |
|
30 |
|
|
31 | 29 |
fi |
Also available in: Unified diff
lib/sh/sync.sh: removed download(). use swap=1 upload, or swap=1 upload_caller, instead. this avoids having separate upload()/download() pairs for every caller of upload(), because you can instead just set swap=1.