El Jueves, 12 de Enero de 2006 07:24, Bruce Dubbs escribió:

> If the jhalfs.conf file has BOOK defined, it does not set WC.  Perhaps
> the it should be set in jhalfs.conf if BOOK is set there:
>
> if [ -n $BOOK ] ; then WC=1; fi
>
> or more compactly (and less obviously):
>
> [ $BOOK ] && WC=1

At first glace I think that that don't will work due that $BOOK never can be 
empty, It must be the name of the directory where the book sources will be 
downloaded/updated (in this case $WC in not declared), or a full path to a 
local working copy (in this case $WC is declared with any value, 1 by 
default).

A working solution could be, in jhalfs.conf:

#--- Book's sources directory
# Uncomment this variables if you have previously checked
# out the book from the repository
# BOOK=/path/to/book
# WC=1

> also, if WC is defined, then the check for subversion is unnecessary.
> The affects my students who will be given the book via a tar file, but
> do not (yet) have subversion available.  Perhaps the start should be:

You are right, that is a real bug, many thanks :-)

Making and commit both changes now...

-- 
Manuel Canales Esparcia
Usuario de LFS nº2886:       http://www.linuxfromscratch.org
LFS en castellano: http://www.escomposlinux.org/lfs-es http://www.lfs-es.com
TLDP-ES:                           http://es.tldp.org
-- 
http://linuxfromscratch.org/mailman/listinfo/alfs-discuss
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page

Reply via email to