summaryrefslogtreecommitdiff
path: root/lib/ExtUtils/t
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2008-10-25 15:23:48 +0000
committerNicholas Clark <nick@ccl4.org>2008-10-25 15:23:48 +0000
commit7a5ea4aefccf60321be2e6e59cb045bf5951d8e6 (patch)
tree9c3647f65e83495f3e16474f46ef103c27441a22 /lib/ExtUtils/t
parent8bdaab24c0cb1d12d386655647a8b10ea78c34ba (diff)
downloadperl-7a5ea4aefccf60321be2e6e59cb045bf5951d8e6.tar.gz
Upgrade to ExtUtils::Manifest 1.55.
p4raw-id: //depot/perl@34591
Diffstat (limited to 'lib/ExtUtils/t')
-rw-r--r--lib/ExtUtils/t/Manifest.t3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/ExtUtils/t/Manifest.t b/lib/ExtUtils/t/Manifest.t
index 6139202f23..a3754b4b28 100644
--- a/lib/ExtUtils/t/Manifest.t
+++ b/lib/ExtUtils/t/Manifest.t
@@ -35,8 +35,9 @@ sub add_file {
1 while unlink $file; # or else we'll get multiple versions on VMS
open( T, '> '.$file) or return;
print T $data;
- ++$Files{$file};
close T;
+ return 0 unless -e $file; # exists under the name we gave it ?
+ ++$Files{$file};
}
sub read_manifest {