Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit1a4fd77

Browse files
committed
Avoid non-POSIX cp flags
Commit252dcb3 used cp -a, but apparently Solaris doesn't like that. Use cp-RPp instead.Author: Thomas Munro <thomas.munro@gmail.com>Reviewed-by: Daniel Gustafsson <daniel@yesql.se>Discussion:https://postgr.es/m/CA+hUKGL10AoQVMMqgOJ8CTjoz9MLidD8ik2e8PibzLNMz0+aRg@mail.gmail.com
1 parent98976d0 commit1a4fd77

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

‎src/test/perl/PostgreSQL/Test/Cluster.pm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -549,7 +549,7 @@ sub init
549549
}
550550
else
551551
{
552-
@copycmd =qw(cp -a);
552+
@copycmd =qw(cp -RPp);
553553
$expected_exitcode = 0;
554554
}
555555

‎src/test/regress/pg_regress.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2355,7 +2355,7 @@ regression_main(int argc, char *argv[],
23552355
else
23562356
{
23572357
#ifndefWIN32
2358-
constchar*copycmd="cp -a \"%s\" \"%s/data\"";
2358+
constchar*copycmd="cp -RPp \"%s\" \"%s/data\"";
23592359
intexpected_exitcode=0;
23602360
#else
23612361
constchar*copycmd="robocopy /E /NJS /NJH /NFL /NDL /NP \"%s\" \"%s/data\"";

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp