]> git.ozlabs.org Git - ccan/commit
configurator: Use native directory separator
authorKevin Locke <kevin@kevinlocke.name>
Fri, 23 Sep 2016 03:33:07 +0000 (21:33 -0600)
committerDavid Gibson <david@gibson.dropbear.id.au>
Tue, 27 Sep 2016 05:39:45 +0000 (15:39 +1000)
commit3c95fa61256fc559c2cd235caee10046e7464b68
tree825168cca2fca76e88f9525d42eaf3e6a2a35a6c
parent891b43ea4b6d09db68ee83f7086b5673e2806733
configurator: Use native directory separator

Although Windows APIs generally permit "/" or "\\" for directory
separators in paths, cmd.exe does not recognize "./" when invoking
executables using a relative path and prints the following error:

    '.' is not recognized as an internal or external command,
    operable program or batch file.

Therefore, use "\\" when invoking tests on Windows.

Signed-off-by: Kevin Locke <kevin@kevinlocke.name>
Reviewed-by: David Gibson <david@gibson.dropbear.id.au>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
tools/configurator/configurator.c