We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e34372f commit 8c5e7d3Copy full SHA for 8c5e7d3
sign-pkg-mac/sign.sh
@@ -72,6 +72,14 @@ function signloop() {
72
# we pass the executable to sign as the last argument
73
# shellcheck disable=SC1083
74
eval exe=\${$#}
75
+
76
+ # If the file does not exist, skip signing it
77
+ # llplugin and slvoice might be not present
78
+ if [[ ! -e "$exe" ]]; then
79
+ echo "signloop: file '$exe' does not exist, skipping." >&2
80
+ return 0
81
+ fi
82
83
exe="$(basename "$exe")"
84
retry_loop "$exe signing" $retries $signwait /usr/bin/codesign "$@"
85
}
0 commit comments