Ignore:
Timestamp:
08/13/2006 11:58:59 AM (18 years ago)
Author:
Manuel Canales Esparcia <manuel@…>
Branches:
2.3, 2.3.x, 2.4, ablfs, ablfs-more, legacy, new_features, trunk
Children:
d3ce173
Parents:
8cb88dc
Message:

Added option to not use sudo.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • BLFS/blfs-parser.sh

    r8cb88dc rc0bc66d  
    1111
    1212# Grab and name the command line options
    13     optTARGET=$1
    14 optDEPENDENCY=$2
     13    optTARGET=$1  # Package target
     14optDEPENDENCY=$2  # Dependencies level, 1/2/3
     15         SUDO=$3  # Build as user (y) or as root (n)
     16
     17[[ -z $SUDO ]] && SUDO=y
    1518
    1619
     
    114117generate_TARGET_xml
    115118generate_target_book
    116 create_build_scripts
     119create_build_scripts "${SUDO}"
Note: See TracChangeset for help on using the changeset viewer.