Changeset 23747 for trunk/PS-IPP-Config/lib/PS/IPP/Config.pm
- Timestamp:
- Apr 8, 2009, 12:21:43 PM (17 years ago)
- File:
-
- 1 edited
-
trunk/PS-IPP-Config/lib/PS/IPP/Config.pm (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/PS-IPP-Config/lib/PS/IPP/Config.pm
r23495 r23747 1001 1001 $filename =~ s/\{OUTPUT\}/$output/; 1002 1002 if ($filename =~ /\{CHIP\.NAME\}/) { 1003 unless (defined $component) { 1004 carp "Programming error"; 1005 return undef; 1006 } 1007 $filename =~ s/\{CHIP\.NAME\}/$component/; 1008 $filename =~ s/\{CELL\.NAME\}/$component/; 1003 my ($chip, $cell) = ($component, $component); # Chip and cell names 1004 $chip = "fpa" unless defined $chip; 1005 $cell = "chip" unless defined $cell; 1006 $filename =~ s/\{CHIP\.NAME\}/$chip/; 1007 $filename =~ s/\{CELL\.NAME\}/$cell/; 1009 1008 } 1010 1009 … … 1043 1042 1044 1043 if ($extname =~ /\{CHIP\.NAME\}/) { 1045 unless (defined $component) { 1046 carp "Programming error"; 1047 return undef; 1048 } 1049 $extname =~ s/\{CHIP\.NAME\}/$component/; 1044 my $chip = $component; # Chip name 1045 $chip = "fpa" unless defined $chip; 1046 $extname =~ s/\{CHIP\.NAME\}/$chip/; 1050 1047 } 1051 1048
Note:
See TracChangeset
for help on using the changeset viewer.
