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
diff --git a/mkrelease.sh b/mkrelease.sh
index 93d22da..ed7c383 100755
--- a/mkrelease.sh
+++ b/mkrelease.sh
@@ -79,7 +79,8 @@
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