Commit Graph
2 Commits
Author SHA1 Message Date
Markus Mohrhard 1878dac5e1 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>
2017-08-04 06:02:46 +02:00
Markus Mohrhard d3c6b7ff4c add missing file
Change-Id: I7cd9d541b90f4f6b38aa5e36e295e7677bb22f58
2017-05-19 03:43:32 +02:00