From: Zac Medico Date: Mon, 24 Nov 2008 05:09:44 +0000 (-0000) Subject: Use tar options to make files owned in release tarballs owned by X-Git-Tag: v2.2_rc16 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=9c2fa5620ab35396a840d455356972e884700edc;p=portage.git 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 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