box-o-sand/bin/prochome-check

14 lines
399 B
Plaintext
Raw Normal View History

2012-01-02 05:32:34 +00:00
#!/bin/bash
if [ -z "$PROCESSING_HOME" ]; then
cat >&2 <<EOM
----------------------------------------------------------------------------
ERROR: You must define "\$PROCESSING_HOME" for the ant build to succeed.
----------------------------------------------------------------------------
EOM
exit 1
else
echo "Looks like PROCESSING_HOME is set to \"$PROCESSING_HOME\"."
exit 0
fi