Skip to content
Snippets Groups Projects
Commit b14e0dc6 authored by Ted Mielczarek's avatar Ted Mielczarek
Browse files

Followup fix for bug 454594 (need a makefile target that can upload files via...

Followup fix for bug 454594 (need a makefile target that can upload files via ssh). r=bsmedberg, NPOB
parent 5d7883fa
No related branches found
No related tags found
No related merge requests found
......@@ -170,11 +170,12 @@ if __name__ == '__main__':
host = RequireEnvironmentVariable('UPLOAD_HOST')
user = RequireEnvironmentVariable('UPLOAD_USER')
path = RequireEnvironmentVariable('UPLOAD_PATH')
if sys.platform == 'win32':
path = FixupMsysPath(path)
port = int(OptionalEnvironmentVariable('UPLOAD_PORT'))
key = OptionalEnvironmentVariable('UPLOAD_SSH_KEY')
post_upload_command = OptionalEnvironmentVariable('POST_UPLOAD_CMD')
if sys.platform == 'win32':
path = FixupMsysPath(path)
post_upload_command = FixupMsysPath(post_upload_command)
parser = OptionParser(usage="usage: %prog [options] <files>")
parser.add_option("-b", "--base-path",
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment