Changeset 6977354 for BLFS/packages.sh
- Timestamp:
- 05/30/2006 12:16:23 PM (18 years ago)
- Branches:
- experimental
- Children:
- db6b934
- Parents:
- e6ef6fcc
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
BLFS/packages.sh
re6ef6fcc r6977354 4 4 # 5 5 set -e 6 7 BLFS_XML=$1 # Book directory 8 DOC_MODE=$2 # Action to take, only update at the moment 6 9 7 10 #--------------------- … … 12 15 13 16 if [[ -z "$1" ]] ; then 14 echo -e " n\tYou must to provide the name of the BLFS book sources directory.\n"17 echo -e "\n\tYou must to provide the name of the BLFS book sources directory.\n" 15 18 exit 1 16 19 fi 17 18 BLFS_XML=$119 20 20 21 if [[ ! -d $BLFS_XML ]] ; then … … 28 29 fi 29 30 30 if [[ -n "$ 2" ]] ; then31 case $ 2in31 if [[ -n "$DOC_MODE" ]] ; then 32 case $DOC_MODE in 32 33 update ) 33 34 if [[ -d $BLFS_XML/.svn ]] ; then … … 43 44 ;; 44 45 * ) 45 echo -e "\n\tUnknown option $ 2ignored.\n"46 echo -e "\n\tUnknown option ${DOC_MODE} ignored.\n" 46 47 ;; 47 48 esac
Note:
See TracChangeset
for help on using the changeset viewer.