Skip to content

Commit

Permalink
Merge pull request openshift#13746 from stevekuznetsov/skuznets/selin…
Browse files Browse the repository at this point in the history
…ux-tar

Merged by openshift-bot
  • Loading branch information
OpenShift Bot authored Apr 13, 2017
2 parents c60c3b8 + fc07e7d commit 9061dd9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hack/common.sh
Original file line number Diff line number Diff line change
Expand Up @@ -426,7 +426,7 @@ function os::build::archive_tar() {
if [[ -n "$(which bsdtar)" ]]; then
bsdtar -czf "${OS_LOCAL_RELEASEPATH}/${archive_name}" -s ",^\.,${base_name}," $@
else
tar -czf "${OS_LOCAL_RELEASEPATH}/${archive_name}" --transform="s,^\.,${base_name}," $@
tar -czf --xattrs-exclude='LIBARCHIVE.xattr.security.selinux' "${OS_LOCAL_RELEASEPATH}/${archive_name}" --transform="s,^\.,${base_name}," $@
fi
popd &>/dev/null
}
Expand Down

0 comments on commit 9061dd9

Please sign in to comment.