Changeset 5627958
- Timestamp:
- 03/27/2006 06:33:53 PM (18 years ago)
- Branches:
- experimental
- Children:
- f80c1e0
- Parents:
- c6b24b4
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
master.sh
rc6b24b4 r5627958 113 113 ;; 114 114 115 -- LFS-version | -L)115 --book | -B ) 116 116 test $# = 1 && eval "$exit_missing_arg" 117 117 shift … … 120 120 LFSVRS=development 121 121 ;; 122 123 122 *) if [[ "$PROGNAME" = "lfs" ]]; then 123 case $1 in 124 124 6.1.1 ) 125 125 echo "For stable 6.1.1 book, please use jhalfs-0.2." … … 129 129 udev*) LFSVRS=udev_update ;; 130 130 * ) echo "$1 is an unsupported version at this time." ;; 131 132 133 131 esac 132 else 133 echo "The requested version, ${L_arrow} ${BOLD}$1${OFF} ${R_arrow}, is undefined in the ${BOLD}$(echo $PROGNAME | tr [a-z] [A-Z])${OFF} series." 134 134 exit 0 135 135 fi … … 147 147 ;; 148 148 149 150 --download-client | -D )151 echo "The download feature is temporarily disable.."152 exit153 test $# = 1 && eval "$exit_missing_arg"154 shift155 DL=$1156 ;;157 158 149 --working-copy | -W ) 159 150 test $# = 1 && eval "$exit_missing_arg" 160 151 shift 161 if [ -f $1/patches.ent ] ; then 162 WC=1 163 BOOK=$1 164 else 165 echo -e "\nLook like $1 isn't a supported working copy." 166 echo -e "Verify your selection and the command line.\n" 167 exit 1 168 fi 169 ;; 152 case $PROGNAME in # Poor checks. We should find better ones. 153 lfs) 154 if [ -f $1/patches.ent ] ; then 155 WC=1 156 BOOK=$1 157 else 158 echo -e "\nLook like $1 isn't a LFS working copy." 159 exit 1 160 fi 161 ;; 162 clfs) 163 if [ -f $1/patches.ent ] && [ -f $1/packages.ent ]; then 164 WC=1 165 BOOK=$1 166 else 167 echo -e "\nLook like $1 isn't a CLFS working copy." 168 exit 1 169 fi 170 ;; 171 hlfs) 172 if [ -f $1/template.xml ] ; then 173 WC=1 174 BOOK=$1 175 else 176 echo -e "\nLook like $1 isn't a HLFS working copy." 177 exit 1 178 fi 179 ;; 180 blfs) 181 if [ -f $1/use-unzip.xml ] ; then 182 WC=1 183 BOOK=$1 184 else 185 echo -e "\nLook like $1 isn't a BLFS working copy." 186 exit 1 187 fi 188 ;; 170 189 171 190 --testsuites | -T ) … … 186 205 --get-packages | -P ) HPKG=1 ;; 187 206 --run-make | -M ) RUNMAKE=1 ;; 188 --no-strip ) STRIP=0 ;;189 --no-vim-lang ) VIMLANG=0 ;;190 207 --rebuild ) CLEAN=1 ;; 191 192 --page_size )193 test $# = 1 && eval "$exit_missing_arg"194 shift195 case $1 in196 letter | A4 )197 PAGE=$1198 ;;199 * )200 echo "$1 isn't a supported page size."201 exit 1202 ;;203 esac204 ;;205 206 --timezone )207 test $# = 1 && eval "$exit_missing_arg"208 shift209 if [ -f /usr/share/zoneinfo/$1 ] ; then210 TIMEZONE=$1211 else212 echo -e "\nLooks like $1 isn't a valid timezone description."213 echo -e "Verify your selection and the command line.\n"214 exit 1215 fi216 ;;217 208 218 209 --fstab )
Note:
See TracChangeset
for help on using the changeset viewer.