summaryrefslogtreecommitdiff
path: root/tools/osx-codesign.sh
blob: 6a954c737fa4c5f83a0857cd248568b968cf0bf7 (plain)
1
2
3
4
5
6
7
8
9
10
11
#!/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"/bin/node