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"