Ignore:
Timestamp:
08/12/2006 07:59:11 PM (18 years ago)
Author:
George Boudreau <georgeb@…>
Branches:
experimental
Children:
3fa20d4
Parents:
54f4782
Message:

Change bool parameter definitions from 0/1 to y/n to match the new menu app

File:
1 edited

Legend:

Unmodified
Added
Removed
  • common/common-functions

    r54f4782 r47fddc8  
    573573#----------------------------#
    574574  # Test if make must be run.
    575   if [ "$RUNMAKE" = "1" ] ; then
     575  if [ "$RUNMAKE" = "y" ] ; then
    576576    # Test to make sure we're running the build as root
    577577    if [ "$UID" != "0" ] ; then
     
    593593#----------------------------#
    594594  # Test if the clean must be done.
    595   if [ "$CLEAN" = "1" ] ; then
     595  if [ "${CLEAN}" = "y" ]; then
    596596    # Test to make sure we're running the clean as root
    597597    if [ "$UID" != "0" ] ; then
     
    706706                 --stringparam page $PAGE \
    707707                 --stringparam lang $LANG \
    708                  --stringparam keymap ${KEYMAP:-"none"} \
     708                 --stringparam keymap $KEYMAP \
    709709                 -o ./${PROGNAME}-commands/ $XSL $BOOK/$ARCH-index.xml >>$LOGDIR/$LOG 2>&1
    710710      ;;
     
    718718                 --stringparam page $PAGE \
    719719                 --stringparam lang $LANG \
    720                  --stringparam keymap ${KEYMAP:-"none"} \
     720                 --stringparam keymap $KEYMAP \
    721721                 -o ./${PROGNAME}-commands/ $XSL $BOOK/$ARCH-index.xml >>$LOGDIR/$LOG 2>&1
    722722      ;;
     
    732732                 --stringparam lang $LANG \
    733733                 --stringparam lc_all $LC_ALL \
    734                  --stringparam keymap ${KEYMAP:-"none"} \
     734                 --stringparam keymap $KEYMAP \
    735735                 --stringparam grsecurity_host $GRSECURITY_HOST \
    736736                 -o ./${PROGNAME}-commands/ $XSL $BOOK/index.xml >>$LOGDIR/$LOG 2>&1
     
    796796
    797797    # Test if the packages must be downloaded
    798   [ ! "$GETPKG" = "1" ] && return
     798  [ ! "$GETPKG" = "y" ] && return
    799799
    800800  gs_wrt_message(){
     
    826826        *linux/linux-* )
    827827            [[ -z "$CONFIG" ]] && [[ -z "$BOOT_CONFIG" ]] && \
    828             [[ "$GETKERNEL" = "0" ]] && continue
     828            [[ "$GETKERNEL" = "n" ]] && continue
    829829          ;;
    830830    esac
     
    908908      # Do not allow the automatic execution of the Makefile.
    909909    echo "${tab_}${BOLD}${RED}*** ${YELLOW}Automatic execution of the generated makefile has been inhibited. ${RED}***${OFF}${nl_}"
    910     RUNMAKE=0
     910    RUNMAKE="n"
    911911  fi
    912912}
Note: See TracChangeset for help on using the changeset viewer.