mirror of
https://github.com/truenas/core-build.git
synced 2026-02-15 07:36:18 +00:00
Use rsync as scp has removed the ability to use "."
(cherry picked from commit 5eb41e719e)
This commit is contained in:
committed by
User Bugclerk
parent
3f2ae9a902
commit
8d5fee79d0
@@ -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 == '-':
|
||||
|
||||
Reference in New Issue
Block a user