From 8d5fee79d0d8678fcb397d564ac48de8dff78059 Mon Sep 17 00:00:00 2001 From: William Grzybowski Date: Fri, 1 Nov 2019 11:48:43 -0300 Subject: [PATCH] Use rsync as scp has removed the ability to use "." (cherry picked from commit 5eb41e719e69ccefae8477e297522d045dd289e0) --- build/tools/post-to-upgrade.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build/tools/post-to-upgrade.py b/build/tools/post-to-upgrade.py index 9a2bdef..80ae013 100755 --- a/build/tools/post-to-upgrade.py +++ b/build/tools/post-to-upgrade.py @@ -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 == '-':