move log directory away each time

This commit is contained in:
Eric House 2010-09-24 20:19:12 -07:00
parent 8f77886f72
commit 1bfdd1978e

View file

@ -11,6 +11,7 @@ PORT=${PORT:-10997}
[ $USE_GTK = FALSE ] && CURSES_PARM="-u -0"
LOGDIR=$(basename $0)_logs
[ -d $LOGDIR ] && mv $LOGDIR /tmp/${LOGDIR}_$$
mkdir -p $LOGDIR
usage() {