summaryrefslogtreecommitdiff
path: root/bin/update
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@googlemail.com>2017-08-05 03:51:28 +0200
committerMarkus Mohrhard <markus.mohrhard@googlemail.com>2017-08-05 05:31:42 +0200
commit0ae09b2678778ccbf74d33390fa9f572ddca888f (patch)
tree81d0417c675a77db3e4a6116a0257043e997f07d /bin/update
parent502390fdb7fbc93e96d33600cf743a928845229e (diff)
updater: convert to unix path in another place
Change-Id: I07ab2d69891975c93ab1824410eacc30eb98fcb5 Reviewed-on: https://gerrit.libreoffice.org/40779 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
Diffstat (limited to 'bin/update')
-rwxr-xr-xbin/update/upload_builds.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/bin/update/upload_builds.py b/bin/update/upload_builds.py
index e80acb19585c..210668e0d07c 100755
--- a/bin/update/upload_builds.py
+++ b/bin/update/upload_builds.py
@@ -5,6 +5,7 @@ import os
import subprocess
from config import parse_config
+from path import convert_to_unix
from tools import replace_variables_in_string
@@ -25,7 +26,7 @@ def main():
subprocess.call(command, shell=True)
for file in os.listdir(update_dir):
if file.endswith('.mar'):
- subprocess.call(['scp', os.path.join(update_dir, file), upload_url])
+ subprocess.call(['scp', convert_to_unix(os.path.join(update_dir, file)), upload_url])
if __name__ == '__main__':
main()