Use rsync as scp has removed the ability to use "."

(cherry picked from commit 5eb41e719e)
This commit is contained in:
William Grzybowski
2019-11-01 11:48:43 -03:00
committed by User Bugclerk
parent 3f2ae9a902
commit 8d5fee79d0

View File

@@ -54,7 +54,7 @@ def main():
if not temp_dest or not temp_changelog:
error('Failed to create temporary directories on {0}', ssh)
sh('scp ${sshopts} -r ${BE_ROOT}/release/LATEST/. ${ssh}:${temp_dest}')
sh('rsync -vr -e "ssh ${sshopts}" ${BE_ROOT}/release/LATEST/ ${ssh}:${temp_dest}/')
if changelog:
cl_file = None
if changelog == '-':