From: hdp Date: Mon, 8 Jun 2009 19:46:24 +0000 (+0000) Subject: missing semicolon, remove ^Ms X-Git-Tag: 1.006009~75 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=43b7182abb6dcd3917b9df2955b73cbc434a0f1e;p=p5sagit%2Flocal-lib.git missing semicolon, remove ^Ms git-svn-id: http://dev.catalyst.perl.org/repos/bast/local-lib/1.000/trunk@6547 bd8105ee-0ff8-0310-8827-fb3f25b6796d --- diff --git a/eg/scripted_install.pl b/eg/scripted_install.pl index 91bb13f..58f51a4 100644 --- a/eg/scripted_install.pl +++ b/eg/scripted_install.pl @@ -1,19 +1,19 @@ -#!/usr/bin/perl -# contributed by hdp@cpan.org - -use strict; -use warnings; -use CPAN; -use Cwd; -use File::Spec; +#!/usr/bin/perl +# contributed by hdp@cpan.org + +use strict; +use warnings; +use CPAN; +use Cwd; +use File::Spec; my $target = $ENV{TARGET} ? Cwd::abs_path($ENV{TARGET}) : undef; - -my $mod = CPAN::Shell->expand(Module => "local::lib"); -$mod->get; -my $dir = CPAN::Shell->expand(Distribution => $mod->cpan_file)->dir; -chdir($dir); -my $make = $CPAN::Config->{make}; -my $bootstrap = $target ? "--bootstrap=$target" : "--bootstrap" + +my $mod = CPAN::Shell->expand(Module => "local::lib"); +$mod->get; +my $dir = CPAN::Shell->expand(Distribution => $mod->cpan_file)->dir; +chdir($dir); +my $make = $CPAN::Config->{make}; +my $bootstrap = $target ? "--bootstrap=$target" : "--bootstrap"; system($^X, 'Makefile.PL', $bootstrap) && exit 1; -system($make, 'test') && exit 1; -system($make, 'install') && exit 1; +system($make, 'test') && exit 1; +system($make, 'install') && exit 1;