mirror of
https://git.FreeBSD.org/src.git
synced 2025-01-29 16:44:03 +00:00
When extracting package pass `-p' option to tar(1), so that files are
extracted with correct permissions.
This commit is contained in:
parent
5f9dcc4468
commit
64449e2a32
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=101230
@ -32,7 +32,7 @@ __FBSDID("$FreeBSD$");
|
||||
|
||||
#define PUSHOUT(todir) /* push out string */ \
|
||||
if (where_count > (int)sizeof(STARTSTRING)-1) { \
|
||||
strcat(where_args, "|tar --unlink -xf - -C "); \
|
||||
strcat(where_args, "|tar --unlink -xpf - -C "); \
|
||||
strcat(where_args, todir); \
|
||||
if (system(where_args)) { \
|
||||
cleanup(0); \
|
||||
|
Loading…
Reference in New Issue
Block a user