#!/bin/sh if [ "${1}" = "" ]; then DIR="${HOME}/private" else DIR="${1}" fi cd "${DIR}" || (echo "ERROR: ${DIR} does not exist; exiting." >&2; exit 1) if svn info > /dev/null 2>&1; then if svn commit -m "The usual."; then echo -n "" else echo "" echo "Dealing with the fact that '/usr/local/bin/svn'" echo "is h0rked right now because of the intermittent" echo "mysterious RA module load failure that I really" echo "need to get to the bottom of but for crying out" echo "loud there are only so many yaks I can shave at" echo "once, okay? Okay." echo "" /usr/bin/svn commit -m "The usual." fi fi