work even if ENV variable unset

This commit is contained in:
Eric House 2012-11-22 08:20:08 -08:00
parent 0bea58b128
commit 9659f810dc

View file

@ -2,6 +2,8 @@
set -e -u
GCM_SENDER_ID=${GCM_SENDER_ID:-""}
if [ -z "$GCM_SENDER_ID" ]; then
echo "GCM_SENDER_ID empty; GCM use will be disabled" >&2
fi