From c2a5232ab5da4ee8d81077de312b73c30907e2e7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan-Otto=20Kr=C3=B6pke?= Date: Sat, 25 Feb 2023 12:43:41 +0100 Subject: [PATCH] fix: _uri_scheme: is read only --- helm-git-plugin.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/helm-git-plugin.sh b/helm-git-plugin.sh index 514878c4..e9785011 100755 --- a/helm-git-plugin.sh +++ b/helm-git-plugin.sh @@ -245,11 +245,11 @@ main() { _uri_scheme=$(echo "$_raw_uri" | sed -Ene "s'$URI_REGEX'\1'p") readonly _uri_scheme _uri_authority=$(echo "$_raw_uri" | sed -Ene "s'$URI_REGEX'\3'p") - readonly _uri_scheme + readonly _uri_authority _uri_path=$(echo "$_raw_uri" | sed -Ene "s'$URI_REGEX'\8'p") - readonly _uri_scheme + readonly _uri_path _uri_query=$(echo "$_raw_uri" | sed -Ene "s'$URI_REGEX'\9'p") - readonly _uri_scheme + readonly _uri_query git_scheme=$(echo "$_uri_scheme" | sed -e 's/^git+//') readonly git_scheme="$git_scheme"