aboutsummaryrefslogtreecommitdiff
path: root/test/dotnet/install_dotnet_5.sh
diff options
context:
space:
mode:
authorSamruddhi Khandale <skhandale@microsoft.com>2022-11-08 23:08:06 +0300
committerSamruddhi Khandale <skhandale@microsoft.com>2022-11-08 23:08:06 +0300
commit91b8a145251afa580f35feb5f800bd1e4492a2b0 (patch)
tree05934dd8d88ba80d9e41d7f416606210e9ab5d3c /test/dotnet/install_dotnet_5.sh
parent3020d6da64798ee994d407ffd3ce3f800f6dff92 (diff)
Diffstat (limited to 'test/dotnet/install_dotnet_5.sh')
-rw-r--r--test/dotnet/install_dotnet_5.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/dotnet/install_dotnet_5.sh b/test/dotnet/install_dotnet_5.sh
index 5f48eb1..797feac 100644
--- a/test/dotnet/install_dotnet_5.sh
+++ b/test/dotnet/install_dotnet_5.sh
@@ -6,8 +6,8 @@ set -e
source dev-container-features-test-lib
check "dotnet sdks" dotnet --list-sdks
-check "some major version of dotnet 5 is installed" dotnet --list-sdks | grep '5\.[0-9]*\.[0-9]*'
-check "dotnet version 5 installed" ls -l /usr/share/dotnet/sdk | grep '5\.[0-9]*\.[0-9]*'
+check "some major version of dotnet 5 is installed" bash -c "dotnet --list-sdks | grep '5\.[0-9]*\.[0-9]*'"
+check "dotnet version 5 installed" bash -c "ls -l /usr/share/dotnet/sdk | grep '5\.[0-9]*\.[0-9]*'"
# Report result