jmailer-ee \
jcore-swing \
jcustomer-core jcustomer-lib \
+ jbonuscard-core jbonuscard-lib \
jproduct-core jproduct-lib \
jshop-core jshop-lib \
jshop-receipt-core jshop-receipt-lib"
# Own home directory
declare -r JPROJECTS_HOME="${PWD}"
-# ant binary
+# All programs
ANT_BIN=$(which ant 2>/dev/null)
+SCP_BIN=$(which scp 2>/dev/null)
+SSH_BIN=$(which ssh 2>/dev/null)
# Check binary
if [ -z "${ANT_BIN}" ]
then
echo "$0: Cannot find ANT binary."
exit 1
+elif [ -z "${SCP_BIN}" ]
+then
+ echo "$0: Cannot find SCP binary."
+ exit 1
+elif [ -z "${SSH_BIN}" ]
+then
+ echo "$0: Cannot find SSH binary."
+ exit 1
fi
# Test on .git availability"