From 9c2fa5620ab35396a840d455356972e884700edc Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Mon, 24 Nov 2008 05:09:44 +0000 Subject: [PATCH] Use tar options to make files owned in release tarballs owned by portage:portage instead of the current user. svn path=/main/trunk/; revision=12081 --- mkrelease.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/mkrelease.sh b/mkrelease.sh index 93d22da00..ed7c383e3 100755 --- a/mkrelease.sh +++ b/mkrelease.sh @@ -79,7 +79,8 @@ cp "${SOURCE_DIR}/"{ChangeLog,DEVELOPING,NEWS,RELEASE-NOTES,TEST-NOTES} \ cd "${RELEASE_BUILDDIR}" echo ">>> Creating release tarball ${RELEASE_TARBALL}" -tar cfj "${RELEASE_TARBALL}" "${RELEASE}" || die "tarball creation failed" +tar --owner portage --group portage -cjf "${RELEASE_TARBALL}" "${RELEASE}" || \ + die "tarball creation failed" DISTDIR=$(portageq distdir) if [ -n "${DISTDIR}" -a -d "${DISTDIR}" -a -w "${DISTDIR}" ]; then -- 2.26.2