aboutsummaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorDaniel Kirchner <daniel@ekpyron.org>2018-09-04 18:09:37 +0800
committerDaniel Kirchner <daniel@ekpyron.org>2018-09-04 22:35:25 +0800
commit9695d7b38da76428ec83713b88d1218d7addb3af (patch)
tree8296fa81b1442c916f20a727ebde903ba7c2d2ee /scripts
parentcc7daf7b476f498c4dcde7bdb342974097ffe9bf (diff)
downloaddexon-solidity-9695d7b38da76428ec83713b88d1218d7addb3af.tar.gz
dexon-solidity-9695d7b38da76428ec83713b88d1218d7addb3af.tar.zst
dexon-solidity-9695d7b38da76428ec83713b88d1218d7addb3af.zip
Use wildcards for MSVC version in scripts/release.bat.
Diffstat (limited to 'scripts')
-rw-r--r--scripts/release.bat8
1 files changed, 3 insertions, 5 deletions
diff --git a/scripts/release.bat b/scripts/release.bat
index 6415a040..b15b49b7 100644
--- a/scripts/release.bat
+++ b/scripts/release.bat
@@ -32,11 +32,9 @@ set VERSION=%2
IF "%VERSION%"=="2015" (
set "DLLS=C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\redist\x86\Microsoft.VC140.CRT\msvc*.dll"
) ELSE (
- IF EXIST "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Redist\MSVC\14.14.26405\x86\Microsoft.VC141.CRT\" (
- set "DLLS=C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Redist\MSVC\14.14.26405\x86\Microsoft.VC141.CRT\msvc*.dll"
- ) ELSE (
- set "DLLS=C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\VC\Redist\MSVC\14.14.26405\x86\Microsoft.VC141.CRT\msvc*.dll"
- )
+ set "DLLS=MSVC_DLLS_NOT_FOUND"
+ FOR /d %%d IN ("C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\VC\Redist\MSVC\*"
+ "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Redist\MSVC\*") DO set "DLLS=%%d\x86\Microsoft.VC141.CRT\msvc*.dll"
)
7z a solidity-windows.zip ^