Changeset 118 for trunk


Ignore:
Timestamp:
07/27/07 13:35:36 (17 years ago)
Author:
kdeugau
Message:

/trunk

Fix '--define'-with-capitals bug; macros may in fact be defined with
Uppercase Letters In Them. Thanks to Andreas Rehberg for pointing this
out.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/debbuild

    r117 r118  
    382382        $cmdbuildroot = $_;
    383383      } elsif ($prevopt eq '--define') {
    384         my ($macro,$value) = (/([a-z0-9_.-]+)(?:\s+(.+))?/);
     384        my ($macro,$value) = (/([a-z0-9_.-]+)(?:\s+(.+))?/i);
    385385        if ($value) {
    386386          $specglobals{$macro} = $value;
Note: See TracChangeset for help on using the changeset viewer.