- Timestamp:
- 2018-09-17T15:05:46+02:00 (6 years ago)
- Location:
- vendors/FCM/lib/Fcm
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
vendors/FCM/lib/Fcm/BuildSrc.pm
r2281 r10134 141 141 # Reference to an empty array 142 142 $self->{$name} = []; 143 143 144 144 } elsif ($name =~ /^(?:is_cur|pkgname|ppsrc|src)$/) { 145 145 # Empty string 146 146 $self->{$name} = ''; 147 147 148 148 } elsif ($name eq 'mtime') { 149 149 # Modification time 150 150 $self->{$name} = (stat $self->src)[9] if $self->src; 151 151 152 152 } elsif ($name eq 'ppmtime') { 153 153 # Modification time 154 154 $self->{$name} = (stat $self->ppsrc)[9] if $self->ppsrc; 155 155 156 156 } elsif ($name eq 'type') { 157 157 # Attempt to get the type if src is set … … 395 395 my $self = shift(); 396 396 if ( 397 uc($self->get_setting(qw/TOOL GENINTERFACE/)) ne 'NONE' 397 defined($self->get_setting(qw/TOOL GENINTERFACE/)) 398 && uc($self->get_setting(qw/TOOL GENINTERFACE/)) ne 'NONE' 398 399 && $self->progname() 399 400 && $self->is_type_all(qw/SOURCE/) … … 944 945 }; 945 946 } 946 947 947 948 if ($self->interfacebase) { 948 949 # Interface target … … 1217 1218 sub is_in_package { 1218 1219 my ($self, $name) = @_; 1219 1220 1220 1221 my $return = 0; 1221 1222 for (@{ $self->pkgnames }) { … … 1410 1411 1411 1412 $mk .= $target . ':'; 1412 1413 1413 1414 if ($rule->{ACTION} eq 'AR') { 1414 1415 $mk .= ' ' . $self->rule_obj_var (1); -
vendors/FCM/lib/Fcm/CfgFile.pm
r2281 r10134 232 232 } 233 233 234 if (exists $exp_inc{uc ($self->type)} and 235 uc ($start ? $start->label : $label) eq $self->cfglabel ('INC') and 236 not defined $cont) { 234 if ( defined($self->type()) 235 && exists($exp_inc{uc($self->type())}) 236 && uc($start ? $start->label() : $label) eq $self->cfglabel('INC') 237 && !defined($cont) 238 ) { 237 239 # Current configuration file requires expansion of INC declarations 238 240 # The start/current line is an INC declaration
Note: See TracChangeset
for help on using the changeset viewer.