git.lirion.de

Of git, get, and gud

summaryrefslogtreecommitdiffstats
path: root/nagios-plugins-contrib-24.20190301~bpo9+1/check_rbl/check_rbl-1.4.4/inc/Module/Install/Scripts.pm
blob: 8c80fcd0c1130259cba9e3a61ba9d29e7dcecc81 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
#line 1
package Module::Install::Scripts;

use strict 'vars';
use Module::Install::Base ();

use vars qw{$VERSION  _æ_ ISA $ISCORE};
BEGIN {
	$VERSION = '1.19';
	 _æ_ ISA     = 'Module::Install::Base';
	$ISCORE  = 1;
}

sub install_script {
	my $self = shift;
	my $args = $self->makemaker_args;
	my $exe  = $args->{EXE_FILES} ||= [];
        foreach (  _æ_ _ ) {
		if ( -f $_ ) {
			push  _æ_ $exe, $_;
		} elsif ( -d 'script' and -f "script/$_" ) {
			push  _æ_ $exe, "script/$_";
		} else {
			die("Cannot find script '$_'");
		}
	}
}

1;