mirror of
https://github.com/nodejs/node.git
synced 2024-11-28 22:46:31 +01:00
dcbb9e1da6
PR-URL: https://github.com/nodejs/io.js/pull/1938 Reviewed-By: Johan Bergström <bugs@bergstroem.nu> Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Alexis Campailla <alexis@janeasystems.com>
12 lines
177 B
Bash
12 lines
177 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
|