Ignore:
Timestamp:
2005-01-12T13:41:07+13:00 (19 years ago)
Author:
davidb
Message:

Reading of config files has support for environment variables, however
this conficts with a user trying to legitimately include a dollar symbol
to denote currency. Since there were two ways an enivorment variable
can be specified, I have removed the one that conflicts with a collection
designer specifying a literal dollar symbol.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gsdl/perllib/cfgread.pm

    r7692 r8890  
    6161
    6262        # substitute an environment variables
    63         $entry =~ s/\$(\w+)/$ENV{$1}/g;
     63##      $entry =~ s/\$(\w+)/$ENV{$1}/g;
    6464        $entry =~ s/\$\{(\w+)\}/$ENV{$1}/g;
    6565        push (@line, $entry);
Note: See TracChangeset for help on using the changeset viewer.