node/tools/osx-productsign.sh
Rod Vagg dcbb9e1da6 build: update build targets for io.js
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>
2015-06-25 15:22:27 +10:00

13 lines
200 B
Bash

#!/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"