box-o-sand/oldstuff/practicing-processing/bin/prochome-check

14 lines
309 B
Bash
Executable File

#!/bin/bash
if [ -z "$PROCESSING_HOME" ]; then
cat >&2 <<EOM
----------------------------------------------
ERROR: You must define "\$PROCESSING_HOME"
----------------------------------------------
EOM
exit 1
else
echo "Looks like PROCESSING_HOME is set to \"$PROCESSING_HOME\"."
exit 0
fi