From 2c395980011de223bf72fb40a60f9ca4bc6da1c7 Mon Sep 17 00:00:00 2001 From: Mark Lee Date: Wed, 11 Mar 2026 19:45:47 -0700 Subject: [PATCH] fix(mise): filter install script download size correctly --- shell/lib/mise.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shell/lib/mise.sh b/shell/lib/mise.sh index 2d716486..a744ce41 100644 --- a/shell/lib/mise.sh +++ b/shell/lib/mise.sh @@ -63,7 +63,7 @@ ensure_mise_installed() { install_mise() { local install_script=/tmp/mise-install.sh - if [[ ! -f $install_script || "$(wc -c "$install_script")" -eq 0 ]]; then + if [[ ! -f $install_script || "$(wc -c "$install_script" | awk '{print $1}')" -eq 0 ]]; then if ! retry 5 5 gpg --keyserver hkps://keys.openpgp.org --recv-keys 0x24853ec9f655ce80b48e6c3a8b81c9d17413a06d; then error "Could not import mise GPG release key" install_mise_via_apt_if_ubuntu_in_ci