diff options
author | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2017-08-04 05:11:58 +0200 |
---|---|---|
committer | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2017-08-04 06:02:46 +0200 |
commit | 1878dac5e1a839bd4c07cae0f85cf62dd7474e45 (patch) | |
tree | 1205d1d4c4b55b31fe07a55e9676eac4a8b073aa /sd | |
parent | 954e4dc962374058e056b6682ff8ba33a2ecc9dc (diff) |
updater: handle windows path in cygwin correctly
This is a huge mess. Any windows executable does not understand
cygwin paths but for example the bash script only understands unix paths.
Additionally, os.path is unixpath so it is not able to correctly handle
windows paths. We therefore convert everything that we need to handle
to unix paths and only the few paths that are passed in the end to windows
executables back to the native format. We selected mixed mode
(windows path with forward slash) to allow the unix scripts to manipulate
paths.
Change-Id: Ic443415ff5e8277bf0bb8704bbafd35f50767288
Reviewed-on: https://gerrit.libreoffice.org/40755
Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
Diffstat (limited to 'sd')
0 files changed, 0 insertions, 0 deletions