/
githubmirror
/
node
Обзор
Документация
Войти
/
githubmirror
/
node
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
tools/osx-codesign.sh
21 строка
463 B
Antoine du Hamel
tools: remove bashisms from macOS release scripts
05 дек 2020, 01:56
05 дек 2020, 01:56
8973075
Код
Авторство
О чём код?
#!/bin/sh set -x set -e # shellcheck disable=SC2154 [ -z "$SIGN" ] && \ echo "No SIGN environment var. Skipping codesign." >&2 && \ exit 0 # All macOS executable binaries in the bundle must be codesigned with the # hardened runtime enabled. # See https://github.com/nodejs/node/pull/31459 # shellcheck disable=SC2154 codesign \ --sign "$SIGN" \ --entitlements tools/osx-entitlements.plist \ --options runtime \ --timestamp \ "$PKGDIR"/bin/node