Small bug fixes.

This commit is contained in:
Manuel Canales Esparcia 2005-12-09 17:47:24 +00:00
parent ee03040e21
commit 0fb5b0f1cd

View file

@ -317,6 +317,11 @@ while test $# -gt 0 ; do
;;
esac
;;
* )
echo "$usage"
exit 1
;;
esac
shift
done
@ -326,8 +331,8 @@ if [ -z $BOOK ] ; then
fi
[[ ! -d $JHABLFSDIR ]] && mkdir -pv $JHABLFSDIR
[[ "$PWD" != "$JHABLFSDIR" ]] && cp -v $FILES $JHABLFSDIR/
[[ ! -d $LOGDIR ]] && mkdir -v $LOGDIR
[[ "$PWD" != "$JHABLFSDIR" ]] && cp -v $FILES $JHABLFSDIR
[[ ! -d $LOGDIR ]] && mkdir -v $LOGDIR
>$LOGDIR/$LOG
get_book