dotnet / install-scripts

MIT License
133 stars 72 forks source link

fix remote vs local file comparison in bash script #393

Closed YuliiaKovalova closed 1 year ago

YuliiaKovalova commented 1 year ago

Problem

https://github.com/dotnet/install-scripts/issues/391

Solution

file_size variable is an integer, and remote_file_size is a string. For the correct comparison, there is a need to cast remote_file_sizeto integer.