Skip to content

Commit 0992088

Browse files
author
Ryan
authored
[ubuntu] fix: correct variable to print only tool name (actions#3767)
it was broken in actions#3701
1 parent 9db2160 commit 0992088

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

images/linux/scripts/installers/Install-Toolset.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,5 +50,5 @@ foreach ($tool in $tools) {
5050
exit 1
5151
}
5252
}
53-
chown -R "$($env:SUDO_USER):$($env:SUDO_USER)" /opt/hostedtoolcache/$tool
53+
chown -R "$($env:SUDO_USER):$($env:SUDO_USER)" "/opt/hostedtoolcache/$($tool.name)"
5454
}

0 commit comments

Comments
 (0)