Small bug fixes.
This commit is contained in:
parent
ee03040e21
commit
0fb5b0f1cd
1 changed files with 7 additions and 2 deletions
9
jhablfs
9
jhablfs
|
@ -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
|
||||
|
|
Reference in a new issue