public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] portage r12084 - main/branches/2.1.6
@ 2008-11-24  6:51 Zac Medico (zmedico)
  0 siblings, 0 replies; only message in thread
From: Zac Medico (zmedico) @ 2008-11-24  6:51 UTC (permalink / raw
  To: gentoo-commits

Author: zmedico
Date: 2008-11-24 06:51:43 +0000 (Mon, 24 Nov 2008)
New Revision: 12084

Modified:
   main/branches/2.1.6/mkrelease.sh
Log:
Use tar options to make files owned in release tarballs owned by
portage:portage instead of the current user. (trunk r12081)


Modified: main/branches/2.1.6/mkrelease.sh
===================================================================
--- main/branches/2.1.6/mkrelease.sh	2008-11-24 06:41:18 UTC (rev 12083)
+++ main/branches/2.1.6/mkrelease.sh	2008-11-24 06:51:43 UTC (rev 12084)
@@ -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




^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2008-11-24  6:51 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-11-24  6:51 [gentoo-commits] portage r12084 - main/branches/2.1.6 Zac Medico (zmedico)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox