Changeset 40ccddf for master.sh


Ignore:
Timestamp:
03/27/2006 07:08:37 PM (19 years ago)
Author:
Manuel Canales Esparcia <manuel@…>
Branches:
experimental
Children:
d48846a
Parents:
c16cedc
Message:

Separate current switches by books that can use it.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • master.sh

    rc16cedc r40ccddf  
    9999while test $# -gt 0 ; do
    100100  case $1 in
     101  # Common options for all books
    101102    --book | -B )
    102103      test $# = 1 && eval "$exit_missing_arg"
     
    133134      ;;
    134135
    135     --fstab | -F )
    136       test $# = 1 && eval "$exit_missing_arg"
    137       shift
    138       if [ -f $1 ] ; then
    139         FSTAB=$1
    140       else
    141         echo -e "\nFile $1 not found. Verify your command line.\n"
    142         exit 1
    143       fi
    144       ;;
    145 
    146136    --get-packages | -G )  HPKG=1    ;;
    147137
     
    153143        fi
    154144      ;;
    155 
    156     --kernel-config | -K )
    157       test $# = 1 && eval "$exit_missing_arg"
    158       shift
    159       if [ -f $1 ] ; then
    160         CONFIG=$1
    161       else
    162         echo -e "\nFile $1 not found. Verify your command line.\n"
    163         exit 1
    164       fi
    165       ;;
    166 
    167     --make | -M )      RUNMAKE=1 ;;
    168 
    169     --rebuild | -R )       CLEAN=1   ;;
    170145
    171146    --testsuites | -T )
     
    230205          fi
    231206          ;;
     207
     208    # Common options for LFS, CLFS and HLFS
     209    --fstab | -F )
     210      test $# = 1 && eval "$exit_missing_arg"
     211      shift
     212      if [ -f $1 ] ; then
     213        FSTAB=$1
     214      else
     215        echo -e "\nFile $1 not found. Verify your command line.\n"
     216        exit 1
     217      fi
     218      ;;
     219
     220    --kernel-config | -K )
     221      test $# = 1 && eval "$exit_missing_arg"
     222      shift
     223      if [ -f $1 ] ; then
     224        CONFIG=$1
     225      else
     226        echo -e "\nFile $1 not found. Verify your command line.\n"
     227        exit 1
     228      fi
     229      ;;
     230
     231    --make | -M )      RUNMAKE=1 ;;
     232
     233    --rebuild | -R )       CLEAN=1   ;;
    232234
    233235    * )
Note: See TracChangeset for help on using the changeset viewer.