From 09920886d1d3b3936d727905dbac068f8d8942af Mon Sep 17 00:00:00 2001 From: Ryan Date: Wed, 21 Jul 2021 11:58:59 +0000 Subject: [PATCH] [ubuntu] fix: correct variable to print only tool name (#3767) it was broken in #3701 --- images/linux/scripts/installers/Install-Toolset.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/images/linux/scripts/installers/Install-Toolset.ps1 b/images/linux/scripts/installers/Install-Toolset.ps1 index e60f5a2b2..e53bf87b3 100644 --- a/images/linux/scripts/installers/Install-Toolset.ps1 +++ b/images/linux/scripts/installers/Install-Toolset.ps1 @@ -50,5 +50,5 @@ foreach ($tool in $tools) { exit 1 } } - chown -R "$($env:SUDO_USER):$($env:SUDO_USER)" /opt/hostedtoolcache/$tool + chown -R "$($env:SUDO_USER):$($env:SUDO_USER)" "/opt/hostedtoolcache/$($tool.name)" }