Removed forgotten BLFS code and fixed --working-copy tests.

This commit is contained in:
Manuel Canales Esparcia 2006-05-18 18:52:31 +00:00
parent 8419a0421d
commit 4bc3c2b0ce

View file

@ -187,7 +187,7 @@ while test $# -gt 0 ; do
shift shift
case $PROGNAME in # Poor checks. We should find better ones. case $PROGNAME in # Poor checks. We should find better ones.
lfs) lfs)
if [ -f $1/patches.ent ] ; then if [ -d $1/chapter09 ] ; then
WC=1 WC=1
BOOK=$1 BOOK=$1
else else
@ -196,7 +196,7 @@ while test $# -gt 0 ; do
fi fi
;; ;;
clfs) clfs)
if [ -f $1/patches.ent ] && [ -f $1/packages.ent ]; then if [ -d $1/cross-tools ] ; then
WC=1 WC=1
BOOK=$1 BOOK=$1
else else
@ -213,15 +213,6 @@ while test $# -gt 0 ; do
exit 1 exit 1
fi fi
;; ;;
blfs)
if [ -f $1/use-unzip.xml ] ; then
WC=1
BOOK=$1
else
echo -e "\nLooks like $1 isn't a BLFS working copy."
exit 1
fi
;;
esac esac
;; ;;