Added HLFS and BLFS switches.

This commit is contained in:
Manuel Canales Esparcia 2006-03-27 20:07:17 +00:00
parent bd99331525
commit 890acc612d

View file

@ -346,6 +346,36 @@ while test $# -gt 0 ; do
fi fi
;; ;;
# HLFS options
--model )
test $# = 1 && eval "$exit_missing_arg"
shift
case $1 in
glibc | uclibc )
MODEL=$1
;;
* )
echo -e "\n$1 isn't a valid libc model."
exit 1
;;
esac
;;
# BLFS options
--dependencies )
test $# = 1 && eval "$exit_missing_arg"
shift
case $1 in
0 | 1 | 2 )
DEPEND=$1
;;
* )
echo -e "\n$1 isn't a valid dependencies level."
exit 1
;;
esac
;;
# Unknown options # Unknown options
* ) * )
if [[ "$PROGNAME" = "blfs" ]]; then if [[ "$PROGNAME" = "blfs" ]]; then