summaryrefslogtreecommitdiff
path: root/tools/osx-productsign.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tools/osx-productsign.sh')
-rw-r--r--tools/osx-productsign.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/osx-productsign.sh b/tools/osx-productsign.sh
index 4834c9bbb8..491e3fde62 100644
--- a/tools/osx-productsign.sh
+++ b/tools/osx-productsign.sh
@@ -3,7 +3,7 @@
set -x
set -e
-if ! [ -n "$SIGN" ]; then
+if [ "X$SIGN" == "X" ]; then
echo "No SIGN environment var. Skipping codesign." >&2
exit 0
fi