line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Module::Install::Scripts; |
2
|
|
|
|
|
|
|
|
3
|
1
|
|
|
1
|
|
1479
|
use strict 'vars'; |
|
1
|
|
|
|
|
9
|
|
|
1
|
|
|
|
|
45
|
|
4
|
1
|
|
|
1
|
|
6
|
use Module::Install::Base (); |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
19
|
|
5
|
|
|
|
|
|
|
|
6
|
1
|
|
|
1
|
|
5
|
use vars qw{$VERSION @ISA $ISCORE}; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
72
|
|
7
|
|
|
|
|
|
|
BEGIN { |
8
|
1
|
|
|
1
|
|
4
|
$VERSION = '1.21'; |
9
|
1
|
|
|
|
|
25
|
@ISA = 'Module::Install::Base'; |
10
|
1
|
|
|
|
|
174
|
$ISCORE = 1; |
11
|
|
|
|
|
|
|
} |
12
|
|
|
|
|
|
|
|
13
|
|
|
|
|
|
|
sub install_script { |
14
|
0
|
|
|
0
|
0
|
|
my $self = shift; |
15
|
0
|
|
|
|
|
|
my $args = $self->makemaker_args; |
16
|
0
|
|
0
|
|
|
|
my $exe = $args->{EXE_FILES} ||= []; |
17
|
0
|
|
|
|
|
|
foreach ( @_ ) { |
18
|
0
|
0
|
0
|
|
|
|
if ( -f $_ ) { |
|
|
0
|
|
|
|
|
|
19
|
0
|
|
|
|
|
|
push @$exe, $_; |
20
|
|
|
|
|
|
|
} elsif ( -d 'script' and -f "script/$_" ) { |
21
|
0
|
|
|
|
|
|
push @$exe, "script/$_"; |
22
|
|
|
|
|
|
|
} else { |
23
|
0
|
|
|
|
|
|
die("Cannot find script '$_'"); |
24
|
|
|
|
|
|
|
} |
25
|
|
|
|
|
|
|
} |
26
|
|
|
|
|
|
|
} |
27
|
|
|
|
|
|
|
|
28
|
|
|
|
|
|
|
1; |