Ignore:
Timestamp:
Dec 9, 2008, 11:36:16 AM (11 years ago)
Author:
bruno
Message:
  • Fix a bug in conf file handling when tag is using a '.' which wasn't supported by the regexp. Needed for ditribution names in vmopt/vmymout e.g.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • devel/pb-modules/lib/ProjectBuilder/Conf.pm

    r505 r638  
    141141open(CONF,$conffile) || die "Unable to open $conffile";
    142142while(<CONF>) {
    143     if (/^\s*([A-z0-9-_]+)\s+([[A-z0-9-_]+)\s*=\s*(.+)$/) {
     143    if (/^\s*([A-z0-9-_.]+)\s+([[A-z0-9-_.]+)\s*=\s*(.+)$/) {
    144144        pb_log(3,"DEBUG: 1:$1 2:$2 3:$3\n");
    145145        $h{$1}{$2}=$3;
Note: See TracChangeset for help on using the changeset viewer.