Changeset a96109a


Ignore:
Timestamp:
10/24/2006 02:49:37 AM (18 years ago)
Author:
George Boudreau <georgeb@…>
Branches:
2.3, 2.3.x, 2.4, ablfs, ablfs-more, legacy, new_features, trunk
Children:
6e8fc82
Parents:
a16f769
Message:

more changes made to accomodate bash-3.2

Files:
5 edited

Legend:

Unmodified
Added
Removed
  • BLFS/gen_pkg_book.sh

    ra16f769 ra96109a  
    5757    esac
    5858
    59     if [[ "${REPLY}" =~ "^CONFIG_" ]]; then
     59    if [[ "${REPLY}" =~ ^CONFIG_ ]]; then
    6060      echo -n "$REPLY"
    6161      if [[ $((++cntr)) > 1 ]]; then
     
    108108    # Drop the "=y"
    109109    REPLY=${REPLY%=*}
    110     if [[ "${REPLY}" =~ "^DEP_" ]]; then
     110    if [[ "${REPLY}" =~ ^DEP_ ]]; then
    111111      META_PACKAGE=$(echo $REPLY | cut -d "_" -f2 | tr [A-Z] [a-z])
    112112      DEP_FNAME=$(echo $REPLY | cut -d "_" -f3)
  • blfs-tool

    ra16f769 ra96109a  
    3939#-----------------------#
    4040  # If +e then disable text output
    41   if [[ "$-" =~ "e" ]]; then
     41  if [[ "$-" =~ e ]]; then
    4242    echo -e "\n${RED}ERROR:${GREEN} basic error trapped!${OFF}\n" >&2
    4343  fi
  • common/func_validate_configs.sh

    ra16f769 ra96109a  
    160160        # The build directory/partition MUST exist and be writable by the user
    161161      BUILDDIR)   validate_dir -z -d -w
    162                   [[ "xx x/x" =~ "x${!config_param}x" ]] && write_error_and_die ;;
     162                  [[ "xx x/x" =~ x${!config_param}x ]] && write_error_and_die ;;
    163163
    164164        # Validate files, testable states:
  • jhalfs

    ra16f769 ra96109a  
    3737#-----------------------#
    3838  # If +e then disable text output
    39   if [[ "$-" =~ "e" ]]; then
     39  if [[ "$-" =~ e ]]; then
    4040    echo -e "\n${RED}ERROR:${GREEN} basic error trapped!${OFF}\n" >&2
    4141  fi
  • optimize/optimize_functions

    ra16f769 ra96109a  
    7676  local MKF
    7777
    78   if [[ "$BLACK_LIST" =~ "$pkg" ]]; then
     78  if [[ "$BLACK_LIST" =~ ${pkg} ]]; then
    7979    MKF=unset
    8080  else
Note: See TracChangeset for help on using the changeset viewer.