diff options
author | Peter J. Acklam) (via RT <perlbug-followup@perl.org> | 2011-01-06 23:12:42 -0800 |
---|---|---|
committer | Abigail <abigail@abigail.be> | 2011-01-07 11:29:08 +0100 |
commit | c4a6f826b3676d1fdbd9972a9d0a8f11c02d003d (patch) | |
tree | f246b362bc76c9dac721de18db8432c7b4bdc937 /dist/ExtUtils-Install | |
parent | 2a467c83e2ce01bdf8cdda501e2e3df4b188134f (diff) | |
download | perl-c4a6f826b3676d1fdbd9972a9d0a8f11c02d003d.tar.gz |
Fix typos (spelling errors) in dist/*
# New Ticket Created by (Peter J. Acklam)
# Please include the string: [perl #81888]
# in the subject line of all future correspondence about this issue.
# <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=81888 >
Signed-off-by: Abigail <abigail@abigail.be>
Diffstat (limited to 'dist/ExtUtils-Install')
-rw-r--r-- | dist/ExtUtils-Install/Changes | 2 | ||||
-rw-r--r-- | dist/ExtUtils-Install/lib/ExtUtils/Install.pm | 10 | ||||
-rw-r--r-- | dist/ExtUtils-Install/t/Install.t | 6 | ||||
-rw-r--r-- | dist/ExtUtils-Install/t/Installapi2.t | 6 |
4 files changed, 12 insertions, 12 deletions
diff --git a/dist/ExtUtils-Install/Changes b/dist/ExtUtils-Install/Changes index 55c60134f6..50be7b90c0 100644 --- a/dist/ExtUtils-Install/Changes +++ b/dist/ExtUtils-Install/Changes @@ -128,7 +128,7 @@ highlight the pod properly. 1.49 -Turns out that the new can_write_dir.t doesnt work properly under root +Turns out that the new can_write_dir.t doesn't work properly under root as root can read the files regardless as to their mode. So we skip those tests when the effective UID is 0 indicating root. diff --git a/dist/ExtUtils-Install/lib/ExtUtils/Install.pm b/dist/ExtUtils-Install/lib/ExtUtils/Install.pm index da583650fd..826342bf38 100644 --- a/dist/ExtUtils-Install/lib/ExtUtils/Install.pm +++ b/dist/ExtUtils-Install/lib/ExtUtils/Install.pm @@ -297,7 +297,7 @@ sub _unlink_or_rename { #XXX OS-SPECIFIC "Going to try to rename it to '$tmp'.\n"; if ( rename $file, $tmp ) { - warn "Rename succesful. Scheduling '$tmp'\nfor deletion at reboot.\n"; + warn "Rename successful. Scheduling '$tmp'\nfor deletion at reboot.\n"; # when $installing we can set $moan to true. # IOW, if we cant delete the renamed file at reboot its # not the end of the world. The other cases are more serious @@ -310,7 +310,7 @@ sub _unlink_or_rename { #XXX OS-SPECIFIC _move_file_at_boot( $tmp, $file ); return $tmp; } else { - _choke("Rename failed:$!", "Cannot procede."); + _choke("Rename failed:$!", "Cannot proceed."); } } @@ -520,7 +520,7 @@ sub _mkpath { Wrapper around File::Copy::copy to handle errors. -If $verbose is true and >1 then additional dignostics will be emitted. +If $verbose is true and >1 then additional diagnostics will be emitted. If $dry_run is true then the copy will not actually occur. @@ -790,7 +790,7 @@ sub install { #XXX OS-SPECIFIC ]; #restore the original directory we were in when File::Find - #called us so that it doesnt get horribly confused. + #called us so that it doesn't get horribly confused. _chdir($save_cwd); }, $current_directory ); _chdir($cwd); @@ -1056,7 +1056,7 @@ sub uninstall { Remove shadowed files. If $ignore is true then it is assumed to hold a filename to ignore. This is used to prevent spurious warnings from -occuring when doing an install at reboot. +occurring when doing an install at reboot. We now only die when failing to remove a file that has precedence over our own, when our install has precedence we only warn. diff --git a/dist/ExtUtils-Install/t/Install.t b/dist/ExtUtils-Install/t/Install.t index cf3c67e6f6..1f856cf9e0 100644 --- a/dist/ExtUtils-Install/t/Install.t +++ b/dist/ExtUtils-Install/t/Install.t @@ -16,7 +16,7 @@ use Test::More tests => 52; use MakeMaker::Test::Setup::BFD; BEGIN { use_ok('ExtUtils::Install') } -# ensure the env doesnt pollute our tests +# ensure the env doesn't pollute our tests local $ENV{EU_INSTALL_ALWAYS_COPY}; local $ENV{EU_ALWAYS_COPY}; @@ -119,7 +119,7 @@ close DUMMY; ' UNINST=0 left different' ); } -# Test UNINST=1 only warning when failing to remove an irrelevent shadow file +# Test UNINST=1 only warning when failing to remove an irrelevant shadow file { my $tfile='install-test/lib/perl/Big/Dummy.pm'; local $ExtUtils::Install::Testing = $tfile; @@ -145,7 +145,7 @@ close DUMMY; } -# Test UNINST=1 dieing when failing to remove an relevent shadow file +# Test UNINST=1 dieing when failing to remove an relevant shadow file { my $tfile='install-test/lib/perl/Big/Dummy.pm'; local $ExtUtils::Install::Testing = $tfile; diff --git a/dist/ExtUtils-Install/t/Installapi2.t b/dist/ExtUtils-Install/t/Installapi2.t index 1a59da2174..5ebe826535 100644 --- a/dist/ExtUtils-Install/t/Installapi2.t +++ b/dist/ExtUtils-Install/t/Installapi2.t @@ -28,7 +28,7 @@ END { ok( chdir File::Spec->updir ); ok( teardown_recurs(), 'teardown' ); } -# ensure the env doesnt pollute our tests +# ensure the env doesn't pollute our tests local $ENV{EU_INSTALL_ALWAYS_COPY}; local $ENV{EU_ALWAYS_COPY}; @@ -118,7 +118,7 @@ close DUMMY; ' UNINST=0 left different' ); } -# Test UNINST=1 only warning when failing to remove an irrelevent shadow file +# Test UNINST=1 only warning when failing to remove an irrelevant shadow file { my $tfile='install-test/lib/perl/Big/Dummy.pm'; local $ExtUtils::Install::Testing = $tfile; @@ -144,7 +144,7 @@ close DUMMY; } -# Test UNINST=1 dieing when failing to remove an relevent shadow file +# Test UNINST=1 dieing when failing to remove an relevant shadow file { my $tfile='install-test/lib/perl/Big/Dummy.pm'; local $ExtUtils::Install::Testing = $tfile; |