Closed am11 closed 1 month ago
@am11 out of curiosity, why did you switch to the more explicit style? readability concerns or something functional in nature?
There was another case when override
is not false for which override_switch
had to be empty. Took care of it in the last commit.
@baronfel, it was that or
[ "$override" = false ] && override_switch="-n" && cp -u --help >/dev/null 2>&1 && override_switch="-u"
line was getting long, so I thought if-block would be better for readability. :)
That makes perfect sense - thanks for the explanation :)
Fixes https://github.com/dotnet/install-scripts/issues/436