aboutsummaryrefslogtreecommitdiff
path: root/test/dotnet/install_dotnet_5.sh
diff options
context:
space:
mode:
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