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 esac
;; ;;
* )
echo "$usage"
exit 1
;;
esac esac
shift shift
done done
@ -326,8 +331,8 @@ if [ -z $BOOK ] ; then
fi fi
[[ ! -d $JHABLFSDIR ]] && mkdir -pv $JHABLFSDIR [[ ! -d $JHABLFSDIR ]] && mkdir -pv $JHABLFSDIR
[[ "$PWD" != "$JHABLFSDIR" ]] && cp -v $FILES $JHABLFSDIR/ [[ "$PWD" != "$JHABLFSDIR" ]] && cp -v $FILES $JHABLFSDIR
[[ ! -d $LOGDIR ]] && mkdir -v $LOGDIR [[ ! -d $LOGDIR ]] && mkdir -v $LOGDIR
>$LOGDIR/$LOG >$LOGDIR/$LOG
get_book get_book