mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2024-12-30 10:26:58 +01:00
19 lines
391 B
Bash
Executable file
19 lines
391 B
Bash
Executable file
#!/bin/sh
|
|
|
|
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
|
|
|
|
cat <<EOF
|
|
// Auto-generated: DO NOT CHECK THIS IN until questions about
|
|
// obscuring the id are cleared up
|
|
package org.eehouse.android.xw4;
|
|
|
|
public class GCMConsts {
|
|
public static final String SENDER_ID = "${GCM_SENDER_ID}";
|
|
}
|
|
EOF
|