- Timestamp:
- 05/11/2006 08:21:14 PM (18 years ago)
- Branches:
- 1.0, 2.3, 2.3.x, 2.4, ablfs, ablfs-more, legacy, new_features, trunk
- Children:
- f3ae556
- Parents:
- 0910f55
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
master.sh
r0910f55 r1b65a84 148 148 --help | -h ) usage | more && exit ;; 149 149 150 --optimize | -O ) 151 test $# = 1 && eval "$exit_missing_arg" 152 shift 153 case $1 in 154 0 | 1 | 2 ) 155 OPTIMIZE=$1 156 ;; 157 * ) 158 echo -e "\n$1 isn't a valid optimize level value." 159 echo -e "You must use 0, 1, or 2.\n" 160 exit 1 161 ;; 162 esac 163 ;; 164 150 165 --testsuites | -T ) 151 166 test $# = 1 && eval "$exit_missing_arg" … … 449 464 [[ $VERBOSITY > 0 ]] && echo "OK" 450 465 fi 466 # 467 # optimize module 468 if [[ "$OPTIMIZE" != "0" ]]; then 469 [[ $VERBOSITY > 0 ]] && echo -n "Loading optimization module..." 470 source optimize/optimize_functions 471 [[ $? > 0 ]] && echo " optimize/optimize_functions did not load.." && exit 472 [[ $VERBOSITY > 0 ]] && echo "OK" 473 fi 474 # 475 # optimize configurations 476 if [[ "$OPTIMIZE" != "0" ]]; then 477 [[ $VERBOSITY > 0 ]] && echo -n "Loading optimization config..." 478 source optimize/opt_config 479 [[ $? > 0 ]] && echo " optimize/opt_config did not load.." && exit 480 [[ $VERBOSITY > 0 ]] && echo "OK" 481 fi 482 # 483 484 # Validate optimize settings, if required 485 [[ "$OPTIMIZE" != "0" ]] && validate_opt_settings 451 486 452 487 # Prevents setting "-d /" by mistake. … … 473 508 if [[ "$PWD" != "$JHALFSDIR" ]]; then 474 509 cp $COMMON_DIR/makefile-functions $JHALFSDIR/ 510 [[ "$OPTIMIZE" != "0" ]] && cp optimize/opt_override $JHALFSDIR/ 475 511 if [[ "$COMPARE" != "0" ]] ; then 476 512 mkdir -p $JHALFSDIR/extras
Note:
See TracChangeset
for help on using the changeset viewer.