Use tar options to make files owned in release tarballs owned by v2.2_rc16
authorZac Medico <zmedico@gentoo.org>
Mon, 24 Nov 2008 05:09:44 +0000 (05:09 -0000)
committerZac Medico <zmedico@gentoo.org>
Mon, 24 Nov 2008 05:09:44 +0000 (05:09 -0000)
portage:portage instead of the current user.

svn path=/main/trunk/; revision=12081

mkrelease.sh

index 93d22da0079fe5f9de3b86537fb1c120772752aa..ed7c383e314820fcc72c054c967f65c621346ea0 100755 (executable)
@@ -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