~ubuntu-branches/ubuntu/trusty/libaudio-flac-header-perl/trusty

« back to all changes in this revision

Viewing changes to inc/Module/Install/Can.pm

  • Committer: Bazaar Package Importer
  • Author(s): Jonathan Yu, Nathan Handler, Jonathan Yu
  • Date: 2010-12-29 20:02:11 UTC
  • mfrom: (1.1.7 upstream)
  • Revision ID: james.westby@ubuntu.com-20101229200211-xg3pxsdpo61x06on
Tags: 2.4-1
[ Nathan Handler ]
* debian/watch: Update to ignore development releases.

[ Jonathan Yu ]
* New upstream release
* Use new short debhelper rules format
* Standards-Version 3.9.1 (no changes)
* Refresh copyright information
* Add myself to Uploaders and Copyright
* Use new 3.0 (quilt) source format

Show diffs side-by-side

added added

removed removed

Lines of Context:
11
11
 
12
12
use vars qw{$VERSION $ISCORE @ISA};
13
13
BEGIN {
14
 
        $VERSION = '0.67';
 
14
        $VERSION = '0.77';
15
15
        $ISCORE  = 1;
16
16
        @ISA     = qw{Module::Install::Base};
17
17
}
39
39
        return $_cmd if (-x $_cmd or $_cmd = MM->maybe_command($_cmd));
40
40
 
41
41
        for my $dir ((split /$Config::Config{path_sep}/, $ENV{PATH}), '.') {
 
42
                next if $dir eq '';
42
43
                my $abs = File::Spec->catfile($dir, $_[1]);
43
44
                return $abs if (-x $abs or $abs = MM->maybe_command($abs));
44
45
        }
79
80
 
80
81
__END__
81
82
 
82
 
#line 157
 
83
#line 158