mirror of
https://github.com/nodejs/node.git
synced 2024-11-30 07:27:22 +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>
13 lines
200 B
Bash
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"
|