mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Use -zz for rsync
This commit is contained in:
parent
5bf84f7688
commit
1809676dba
@ -102,7 +102,7 @@ class SourceForge(Base): # {{{
|
|||||||
for i in range(5):
|
for i in range(5):
|
||||||
try:
|
try:
|
||||||
check_call([
|
check_call([
|
||||||
'rsync', '-h', '-z', '--progress', '-e', 'ssh -x', x,
|
'rsync', '-h', '-zz', '--progress', '-e', 'ssh -x', x,
|
||||||
'%s,%s@frs.sourceforge.net:%s' %
|
'%s,%s@frs.sourceforge.net:%s' %
|
||||||
(self.username, self.project, self.rdir + '/')
|
(self.username, self.project, self.rdir + '/')
|
||||||
])
|
])
|
||||||
|
@ -123,7 +123,7 @@ def get_fosshub_data():
|
|||||||
|
|
||||||
def send_data(loc):
|
def send_data(loc):
|
||||||
subprocess.check_call([
|
subprocess.check_call([
|
||||||
'rsync', '--inplace', '--delete', '-r', '-z', '-h', '--progress', '-e',
|
'rsync', '--inplace', '--delete', '-r', '-zz', '-h', '--progress', '-e',
|
||||||
'ssh -x', loc + '/', '%s@%s:%s' % (STAGING_USER, STAGING_HOST, STAGING_DIR)
|
'ssh -x', loc + '/', '%s@%s:%s' % (STAGING_USER, STAGING_HOST, STAGING_DIR)
|
||||||
])
|
])
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user