diff options
Diffstat (limited to 'tools/osx-codesign.sh')
-rw-r--r-- | tools/osx-codesign.sh | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/tools/osx-codesign.sh b/tools/osx-codesign.sh index 65a8d48b8a..5c2d1aff34 100644 --- a/tools/osx-codesign.sh +++ b/tools/osx-codesign.sh @@ -3,10 +3,9 @@ set -x set -e -if ! [ -n "$SIGN" ] && [ $STEP -eq 1 ]; then +if [ "X$SIGN" == "X" ]; 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 |