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
|
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
|
||||||
|
|
Reference in a new issue