aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJP Ungaretti <git@jungaretti.com>2023-03-01 05:08:32 +0300
committerJP Ungaretti <git@jungaretti.com>2023-03-01 05:08:32 +0300
commita716332dfafcca938ced0310ac76b9473a1bc66b (patch)
tree676e0c4172656c6c5363d3d5b5f2f0732b2913f8 /src
parent1a655bfa0d7ebf26d94a82bbc4a2fe6c5bb40501 (diff)
Add more helpful version error
Diffstat (limited to 'src')
-rw-r--r--src/dotnet/install.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dotnet/install.sh b/src/dotnet/install.sh
index 68ce41c..f9bf46c 100644
--- a/src/dotnet/install.sh
+++ b/src/dotnet/install.sh
@@ -47,7 +47,7 @@ install_version() {
# Make sure the version is formatted correctly (form 'N' is handled before this)
if ! [[ "$version" = 'latest' || "$version" =~ ^[0-9]+.[0-9]+.[0-9]+$ ]]; then
- echo "version must be 'latest' or use the form 'N.M.O'"
+ echo "Invalid version '$version': version must be 'latest' or use the form 'N.M.O'"
return 1
fi