Use sh.exe command.

Signed-off-by: FrancisANDRE <zosrothko@orange.fr>
This commit is contained in:
FrancisANDRE 2016-03-18 09:53:52 +01:00
parent 203d820122
commit e137bea440

View File

@ -374,8 +374,8 @@ build_script:
- ps: |
if (($env:builder -eq "cygwin") -and ($env:platform -eq "Win32"))
{
$cmd = 'sh -c "ls -l /usr/include/openssl/"';iex "& $cmd"
$cmd = 'sh configure --everything';iex "& $cmd"
$cmd = 'C:\cygwin\bin\sh.exe -c "ls -l /usr/include/openssl/"';iex "& $cmd"
$cmd = 'C:\cygwin\bin\sh.exe configure --everything';iex "& $cmd"
$cmd = 'make -s -j4';iex "& $cmd"
}
if ($env:builder -eq "msbuild")
@ -452,7 +452,7 @@ test_script:
if (($env:builder -eq "cygwin") -and ($env:platform -eq "Win32"))
{
$cmd = 'C:\cygwin\usr\sbin\cygserver.exe "&"';iex "& $cmd"
$cmd = 'C:\cygwin\bin\sh.exe appveyor/Cygwin/runtests.sh';iex "& $cmd"
$cmd = 'C:\cygwin\bin\sh.exe -c "appveyor/Cygwin/runtests.sh"';iex "& $cmd"
}
if ($env:builder -eq "msbuild" -and $env:linkmode -eq "shared")
{