aboutsummaryrefslogtreecommitdiff
path: root/src/test/perl/RecursiveCopy.pm
diff options
context:
space:
mode:
authorNoah Misch <noah@leadboat.com>2016-06-12 04:19:56 -0400
committerNoah Misch <noah@leadboat.com>2016-06-12 04:19:56 -0400
commit3be0a62ffe58f0753d190cbe22acbeb8b4926b85 (patch)
tree6da431545c91d5f54d56b38208e8f946dcdbd6b4 /src/test/perl/RecursiveCopy.pm
parentb098abf90537edf0ce9c70e8eb55320baf6e445d (diff)
downloadpostgresql-3be0a62ffe58f0753d190cbe22acbeb8b4926b85.tar.gz
postgresql-3be0a62ffe58f0753d190cbe22acbeb8b4926b85.zip
Finish pgindent run for 9.6: Perl files.
Diffstat (limited to 'src/test/perl/RecursiveCopy.pm')
-rw-r--r--src/test/perl/RecursiveCopy.pm5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/test/perl/RecursiveCopy.pm b/src/test/perl/RecursiveCopy.pm
index c4da1bbd837..3e988132868 100644
--- a/src/test/perl/RecursiveCopy.pm
+++ b/src/test/perl/RecursiveCopy.pm
@@ -65,7 +65,7 @@ sub copypath
{
die "if specified, filterfn must be a subroutine reference"
unless defined(ref $params{filterfn})
- and (ref $params{filterfn} eq 'CODE');
+ and (ref $params{filterfn} eq 'CODE');
$filterfn = $params{filterfn};
}
@@ -93,7 +93,8 @@ sub _copypath_recurse
# Can't handle symlinks or other weird things
die "Source path \"$srcpath\" is not a regular file or directory"
- unless -f $srcpath or -d $srcpath;
+ unless -f $srcpath
+ or -d $srcpath;
# Abort if destination path already exists. Should we allow directories
# to exist already?