summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorEdward Thomson <ethomson@edwardthomson.com>2023-01-31 12:17:37 +0000
committerEdward Thomson <ethomson@edwardthomson.com>2023-02-09 12:10:40 +0000
commitb857122f1673c65571c8a11b9200ff7bad2d404a (patch)
tree7b4aef163a466dfd3e9613d868d9fb4443822c46 /include
parenta7bc32edd553b41b1d4f02233379934e6d4b47a9 (diff)
downloadlibgit2-ethomson/sysdir_test.tar.gz
ci: convert PATH correctly to Cygwin format on Windowsethomson/sysdir_test
We provide `BUILD_PATH` to our build script; provide it and mutate `PATH` when running our tests as well. We were previously using `cygpath` to try to convert a _list_ of Windows paths into cygwin / Unix style `PATH` format. This does not work -- it treats the path list as a single path (with semicolons -- understandably as those are allowed characters in a Windows path). For example, `C:\One;C:\Two;C:\Three` is converted to `/c/one;c:/two;c:/three`. Add a new function to convert path lists, so that paths are split by semicolon and fed to `cygpath` independently, then re-joined with a colon. This means that our example `C:\One;C:\Two;C:\Three` is correctly converted to `/c/one:/c/two:/c/three`.
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions