mirror of
https://github.com/nodejs/node.git
synced 2024-11-22 07:37:56 +01:00
2dd710e7ea
This makes the installer work on Mountain Lion.
13 lines
245 B
Bash
13 lines
245 B
Bash
#!/bin/bash
|
|
|
|
set -x
|
|
set -e
|
|
|
|
if ! [ -n "$SIGN" ] && [ $STEP -eq 1 ]; 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
|