Fixed an issue where BOOK wasn't being reset correctly if -L was specified on the command line
This commit is contained in:
parent
0617288495
commit
83a366bad0
2 changed files with 7 additions and 1 deletions
4
jhalfs
4
jhalfs
|
@ -1120,6 +1120,10 @@ fi
|
|||
[[ ! -d $LOGDIR ]] && mkdir -v $LOGDIR
|
||||
>$LOGDIR/$LOG
|
||||
|
||||
if [ -z $BOOK ] ; then
|
||||
BOOK=lfs-$LFSVRS
|
||||
fi
|
||||
|
||||
get_book
|
||||
build_Makefile
|
||||
run_make
|
||||
|
|
|
@ -61,4 +61,6 @@ JHALFSDIR=$BUILDDIR/jhalfs
|
|||
LFSVRS=development
|
||||
|
||||
#--- Book's sources directory
|
||||
BOOK=lfs-$LFSVRS
|
||||
# Uncomment this variable if you have previously checked
|
||||
# out the book from the repository
|
||||
# BOOK=/path/to/book
|
||||
|
|
Reference in a new issue