diff options
author | Fred Hebert <mononcqc@ferd.ca> | 2018-10-18 15:38:48 -0400 |
---|---|---|
committer | Fred Hebert <mononcqc@ferd.ca> | 2018-10-18 15:45:00 -0400 |
commit | c9fbb4a44feac75a325c5831293901d5cb12075a (patch) | |
tree | 5583dece572108bb4b038961ad34e78398498c06 /src/rebar_api.erl | |
parent | 7bfc8110d1736d2cbf61e19d2fc16dc8e854b460 (diff) |
Fix shell hook expansion on windows
Dollar Variable expansion (`$VAR`) was inadvertently disabled for
windows variables, although %VARIABLES% already worked. This reduced the
portability of hooks in general.
Additionally, tests would fail on windows due to bad quoting of paths:
the path C:/a/b/c would fail when passed to the command
`cmd /q /c C:/a/b/c` because it would interpret /a /b and /c as 3
options. Using quotes makes the tests pass.
Diffstat (limited to 'src/rebar_api.erl')
0 files changed, 0 insertions, 0 deletions