|
@ -27,13 +27,13 @@ set eth_version=%2 |
|
|
|
|
|
|
|
|
cd download |
|
|
cd download |
|
|
|
|
|
|
|
|
if not exist %eth_name%-%eth_version%.tar.gz ( |
|
|
if not exist %eth_name%-%eth_version%-x64.tar.gz ( |
|
|
for /f "tokens=2 delims={}" %%g in ('bitsadmin /create %eth_name%-%eth_version%.tar.gz') do ( |
|
|
for /f "tokens=2 delims={}" %%g in ('bitsadmin /create %eth_name%-%eth_version%-x64.tar.gz') do ( |
|
|
bitsadmin /transfer {%%g} /download /priority normal %eth_server%/%eth_name%-%eth_version%.tar.gz %cd%\%eth_name%-%eth_version%.tar.gz |
|
|
bitsadmin /transfer {%%g} /download /priority normal %eth_server%/%eth_name%-%eth_version%-x64.tar.gz %cd%\%eth_name%-%eth_version%-x64.tar.gz |
|
|
bitsadmin /cancel {%%g} |
|
|
bitsadmin /cancel {%%g} |
|
|
) |
|
|
) |
|
|
) |
|
|
) |
|
|
if not exist %eth_name%-%eth_version% cmake -E tar -zxvf %eth_name%-%eth_version%.tar.gz |
|
|
if not exist %eth_name%-%eth_version% cmake -E tar -zxvf %eth_name%-%eth_version%-x64.tar.gz |
|
|
cmake -E copy_directory %eth_name%-%eth_version% ..\install\windows |
|
|
cmake -E copy_directory %eth_name%-%eth_version% ..\install\windows |
|
|
|
|
|
|
|
|
cd .. |
|
|
cd .. |
|
|