Changeset 72e9e68


Ignore:
Timestamp:
04/24/2019 03:01:26 PM (5 years ago)
Author:
Pierre Labastie <pierre@…>
Branches:
ablfs-more, legacy, trunk
Children:
183cc33
Parents:
aeb8539
Message:

Fix a long standing bug in func_check_version.sh:
Using the non existent dotSTR variable caused a ragged output.
Use the spaceSTR variable rather

File:
1 edited

Legend:

Unmodified
Added
Removed
  • common/libs/func_check_version.sh

    raeb8539 r72e9e68  
    5252  }
    5353
    54   echo -ne "${TXT}${dotSTR:${#TXT}} ${L_arrow}${BOLD}${tst_version}${OFF}${R_arrow}"
    55 
    56 #  echo -ne "$TXT:\t${L_arrow}${BOLD}${tst_version}${OFF}${R_arrow}"
     54  echo -ne "${TXT}${spaceSTR:${#TXT}} ${L_arrow}${BOLD}${tst_version}${OFF}${R_arrow}"
     55
    5756  IFS=".-(pab"   # Split up w.x.y.z as well as w.x.y-rc  (catch release candidates)
    5857  set -- $ref_version # set positional parameters to minimum ver values
     
    8382  write_error_and_die
    8483}
    85 #  local -r PARAM_VALS='${config_param}${dotSTR:${#config_param}} ${L_arrow}${BOLD}${!config_param}${OFF}${R_arrow}'
    8684
    8785#----------------------------#
Note: See TracChangeset for help on using the changeset viewer.