mirror of
https://github.com/actions/setup-dotnet.git
synced 2025-04-05 23:09:49 +00:00
Update installer scripts
This commit is contained in:
2
externals/install-dotnet.sh
vendored
2
externals/install-dotnet.sh
vendored
@ -224,7 +224,7 @@ get_legacy_os_name() {
|
|||||||
machine_has() {
|
machine_has() {
|
||||||
eval $invocation
|
eval $invocation
|
||||||
|
|
||||||
hash "$1" > /dev/null 2>&1
|
command -v "$1" > /dev/null 2>&1
|
||||||
return $?
|
return $?
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user