node/tools/osx-codesign.sh
Rod Vagg 6fb0b92fa0 build: backport config for new CI infrastructure
PR-URL: https://github.com/nodejs/node/pull/3642
Reviewed-By: Johan Bergström <bugs@bergstroem.nu>
Reviewed-By: Alexis Campailla <alexis@janeasystems.com>
2015-11-25 10:04:52 +11:00

13 lines
229 B
Bash

#!/bin/bash
set -x
set -e
if [ "X$SIGN" == "X" ]; then
echo "No SIGN environment var. Skipping codesign." >&2
exit 0
fi
codesign -s "$SIGN" "$PKGDIR"/usr/local/bin/node
codesign -s "$SIGN" "$PKGDIR"/32/usr/local/bin/node