This is an automated email from the ASF dual-hosted git repository.

vinodkone pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/mesos.git

commit 311c47e4a9169bdc6cdc962383c711a38c7167d2
Author: Vinod Kone <[email protected]>
AuthorDate: Thu Sep 10 15:20:41 2020 -0500

    Added `--no-same-owner` option to tar command.
    
    This ensures extracted tarballs are owned by root when running the
    build as root.
    
    Review: https://reviews.apache.org/r/72860
---
 3rdparty/libprocess/3rdparty/Makefile.am | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/3rdparty/libprocess/3rdparty/Makefile.am 
b/3rdparty/libprocess/3rdparty/Makefile.am
index e148f2d..77e9073 100644
--- a/3rdparty/libprocess/3rdparty/Makefile.am
+++ b/3rdparty/libprocess/3rdparty/Makefile.am
@@ -97,7 +97,7 @@ CLEAN_EXTRACTED =             \
 # which cause the packages to get extracted as necessary. We also
 # apply any patches as appropriate.
 %-stamp: $(BUNDLED_DIR)/%.tar.gz
-       gzip -d -c $^ | tar xf -
+       gzip -d -c $^ | tar xf - --no-same-owner
        test ! -e $(top_srcdir)/../$*.patch || patch -d $* -p1 
<$(top_srcdir)/../$*.patch
        touch $@
 

Reply via email to