diff --git a/master.sh b/master.sh index 899be35..015e57b 100755 --- a/master.sh +++ b/master.sh @@ -187,7 +187,7 @@ while test $# -gt 0 ; do shift case $PROGNAME in # Poor checks. We should find better ones. lfs) - if [ -f $1/patches.ent ] ; then + if [ -d $1/chapter09 ] ; then WC=1 BOOK=$1 else @@ -196,7 +196,7 @@ while test $# -gt 0 ; do fi ;; clfs) - if [ -f $1/patches.ent ] && [ -f $1/packages.ent ]; then + if [ -d $1/cross-tools ] ; then WC=1 BOOK=$1 else @@ -213,15 +213,6 @@ while test $# -gt 0 ; do exit 1 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 ;;