1
0
mirror of https://gitlab.com/fdroid/fdroidserver.git synced 2024-11-04 14:30:11 +01:00

Send permissions to build server (issue #326)

This commit is contained in:
Ciaran Gultnieks 2013-08-21 21:38:42 +01:00
parent f6554d846c
commit 055a26d994

View File

@ -206,8 +206,10 @@ def build_server(app, thisbuild, vcs, build_dir, output_dir, sdk_path, force):
for dd in d:
ftp.mkdir(dd)
for ff in f:
if not os.path.islink(os.path.join(root, rr, ff)):
ftp.put(os.path.join(root, rr, ff), ff)
lfile = os.path.join(root, rr, ff)
if not os.path.islink(lfile):
ftp.put(lfile, ff)
ftp.chmod(ff, os.stat(lfile).st_mode)
for i in range(len(rr.split('/'))):
ftp.chdir('..')
ftp.chdir('..')