Welcome to mirror list, hosted at ThFree Co, Russian Federation.

osx-productsign.sh « tools - github.com/nodejs/node.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 491e3fde62f0b44898d20bd80184aba5aed6ea34 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/bash

set -x
set -e

if [ "X$SIGN" == "X" ]; then
  echo "No SIGN environment var.  Skipping codesign." >&2
  exit 0
fi

productsign --sign "$SIGN" "$PKG" "$PKG"-SIGNED
mv "$PKG"-SIGNED "$PKG"