diff --git a/misc/alpine-tools.func b/misc/alpine-tools.func index 9aee5ca56..3ddc7fda8 100644 --- a/misc/alpine-tools.func +++ b/misc/alpine-tools.func @@ -320,7 +320,8 @@ fetch_and_deploy_gh_release() { # The command is the same for all cases other than tarball/source get_url() { printf '%s' "$json" | jq -r '.assets[].browser_download_url' | - awk -v p="$pattern" 'BEGIN{IGNORECASE=1} $0 ~ p {print; exit}' + awk -v p="$pattern" 'BEGIN{IGNORECASE=1} $0 ~ p {print; exit}' | + tr -d '[:cntrl:]' } case "$mode" in