Use absolute path for setup-x86.exe under PS

Signed-off-by: FrancisANDRE <zosrothko@orange.fr>
This commit is contained in:
FrancisANDRE 2016-03-17 12:19:49 +01:00
parent 2b68e92cff
commit e7091b68e3

View File

@ -113,8 +113,8 @@ install:
{ {
if ($env:platform -eq "Win32") if ($env:platform -eq "Win32")
{ {
$env:PATH = "c:\cygwin\bin;" + $env:PATH $env:PATH = "C:\cygwin\bin;" + $env:PATH
$cmd = 'setup-x86.exe -qnNdO -R C:/cygwin -s http://cygwin.mirror.constant.com -l C:/cygwin/var/cache/setup -P openssl-devel'; $cmd = 'C:\cygwin\bin\setup-x86.exe -qnNdO -R C:/cygwin -s http://cygwin.mirror.constant.com -l C:/cygwin/var/cache/setup -P openssl-devel';
iex "& $cmd" iex "& $cmd"
} }
if ($env:platform -eq "x64") if ($env:platform -eq "x64")