Changeset 2b0f8a5 for jhalfs


Ignore:
Timestamp:
08/26/2006 07:18:15 PM (18 years ago)
Author:
Manuel Canales Esparcia <manuel@…>
Branches:
experimental
Children:
cfdc0f1
Parents:
392e11c3
Message:

Big change allowed by using only menuconfig.

File:
1 moved

Legend:

Unmodified
Added
Removed
  • jhalfs

    r392e11c3 r2b0f8a5  
    7575"
    7676
    77 if [ ! -L $0 ] ; then
    78   echo "$version"
    79   echo "${nl_}${tab_}${BOLD}${RED}This script cannot be called directly: EXITING ${OFF}${nl_}"
    80   exit 1
    81 fi
    82 
    83     PROGNAME=$(basename $0)
    84   COMMON_DIR="common"
    85 PACKAGE_DIR=$(echo $PROGNAME | tr [a-z] [A-Z])
    86       MODULE=$PACKAGE_DIR/master.sh
    87    VERBOSITY=1
    88 
     77case $1 in
     78  -v ) echo "$version" && exit 1 ;;
     79  run ) : ;;
     80  * )
     81    echo "${nl_}${tab_}${BOLD}${RED}This script cannot be called directly: EXITING ${OFF}${nl_}"
     82    exit 1
     83    ;;
     84esac
     85
     86VERBOSITY=1
    8987
    9088[[ $VERBOSITY > 0 ]] && echo -n "Loading config params from <configuration>..."
     
    129127  esac
    130128fi
     129
    131130# These are boolean vars generated from Config.in.
    132131# ISSUE: If a boolean parameter is not set <true> that
     
    148147GRSECURITY_HOST=${GRSECURITY_HOST:-n}
    149148
     149# Set the document location...
     150BOOK=${BOOK:=$PROGNAME-$LFSVRS}
     151
     152# Set true internal variables
     153COMMON_DIR="common"
     154PACKAGE_DIR=$(echo $PROGNAME | tr [a-z] [A-Z])
     155MODULE=$PACKAGE_DIR/master.sh
     156
    150157
    151158[[ $VERBOSITY > 0 ]] && echo -n "Loading common-functions module..."
     
    159166#
    160167[[ $VERBOSITY > 0 ]] && echo "${SD_BORDER}${nl_}"
    161 
    162 
    163 #===========================================================
    164 # If the var BOOK contains something then, maybe, it points
    165 # to a working doc.. set WC=1, else 'null'
    166 #===========================================================
    167 WC=${BOOK:+y}
    168 #===========================================================
    169 
    170 #===================================================
    171 # Set the document location...
    172 #===================================================
    173 BOOK=${BOOK:=$PROGNAME-$LFSVRS}
    174 #===================================================
    175168
    176169
Note: See TracChangeset for help on using the changeset viewer.