From 7ae503d0d6f945409dd32322328824e43a1a79b8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=8E=8B=E6=80=A7=E9=A9=8A?= Date: Mon, 16 Nov 2026 21:34:03 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20sign-setup.sh=20=E7=9A=84=20$KEY=20?= =?UTF-8?q?=E9=BB=8F=E8=91=97=E5=85=A8=E5=BD=A2=E6=8B=AC=E8=99=9F=EF=BC=88?= =?UTF-8?q?make=20lint-sh=20=E4=B8=8D=E9=81=8E=EF=BC=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- deploy/sign-setup.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deploy/sign-setup.sh b/deploy/sign-setup.sh index 8afc635..3fed893 100644 --- a/deploy/sign-setup.sh +++ b/deploy/sign-setup.sh @@ -10,7 +10,7 @@ set -eu cd "$(dirname "$0")/.." KEY=${KEY:-$HOME/.ssh/id_ed25519.pub} -[ -f "$KEY" ] || { echo "找不到公鑰:$KEY(先 ssh-keygen -t ed25519,或用 KEY=… 指定)"; exit 1; } +[ -f "$KEY" ] || { echo "找不到公鑰:${KEY}(先 ssh-keygen -t ed25519,或用 KEY=… 指定)"; exit 1; } # Only the key itself goes in the list: the comment (often an e-mail or a machine name) stays out. pub=$(awk '{print $1 " " $2; exit}' "$KEY") line="anybot namespaces=\"git\" $pub"