Fixed an issue where BOOK wasn't being reset correctly if -L was specified on the command line

This commit is contained in:
Jeremy Huntwork 2005-11-24 22:09:18 +00:00
parent 0617288495
commit 83a366bad0
2 changed files with 7 additions and 1 deletions

4
jhalfs
View file

@ -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

View file

@ -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