From 36496d3636f5146f0f4185a37778ac011f8c6578 Mon Sep 17 00:00:00 2001 From: darrentu Date: Wed, 24 Jan 2024 17:39:11 -0800 Subject: [PATCH] update --- linux/tools.Dockerfile | 2 +- tests/PSinLinuxCloudShellImage.Tests.ps1 | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/linux/tools.Dockerfile b/linux/tools.Dockerfile index 3af3dc10..17d09d88 100644 --- a/linux/tools.Dockerfile +++ b/linux/tools.Dockerfile @@ -69,7 +69,7 @@ RUN ln -s /usr/bin/node /usr/bin/nodejs # Add user's home directories to PATH at the front so they can install tools which # override defaults # Add dotnet tools to PATH so users can install a tool using dotnet tools and can execute that command from any directory -ENV PATH ~/.local/bin:~/bin:~/.dotnet/tools:$PATH +ENV PATH $HOME/.local/bin:$HOME/bin:$HOME/.dotnet/tools:$PATH # Set AZUREPS_HOST_ENVIRONMENT ENV AZUREPS_HOST_ENVIRONMENT cloud-shell/1.0 diff --git a/tests/PSinLinuxCloudShellImage.Tests.ps1 b/tests/PSinLinuxCloudShellImage.Tests.ps1 index b5c143a8..a7161eeb 100755 --- a/tests/PSinLinuxCloudShellImage.Tests.ps1 +++ b/tests/PSinLinuxCloudShellImage.Tests.ps1 @@ -74,8 +74,8 @@ Describe "Various programs installed with expected versions" { It "has local paths in `$PATH" { $paths = ($env:PATH).split(":") - $paths | Should -Contain "~/bin" - $paths | Should -Contain "~/.local/bin" + $paths | Should -Contain "$HOME/bin" + $paths | Should -Contain "$HOME/.local/bin" } It "Ansible pwsh has modules" {