From f6d48acc72fdfc109ea39ae8b1c09a306c177102 Mon Sep 17 00:00:00 2001 From: Tim Kimber Date: Thu, 30 Sep 2021 20:42:52 +0100 Subject: [PATCH] Fix code location --- getssl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/getssl b/getssl index ab3afce..5cf32f9 100755 --- a/getssl +++ b/getssl @@ -820,7 +820,7 @@ check_getssl_upgrade() { # check if a more recent release is available if [ "$TEMP_UPGRADE_FILE" == "" ]; then error_exit "mktemp failed" fi - CODE_LOCATION=$(sed -e"s/master/${release_tag}/" <<<"$CODE_LOCATION") + CODE_LOCATION=$(sed -e"s/getssl\/master/${release_tag}/" <<<"$CODE_LOCATION") # shellcheck disable=SC2086 debug curl ${_NOMETER:---silent} --user-agent "$CURL_USERAGENT" "$CODE_LOCATION" --output "$TEMP_UPGRADE_FILE" # shellcheck disable=SC2086