Gentoo Archives: gentoo-commits

From: "Zac Medico (zmedico)" <zmedico@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] portage r12084 - main/branches/2.1.6
Date: Mon, 24 Nov 2008 06:51:47
Message-Id: E1L4VIO-0006Tv-30@stork.gentoo.org
1 Author: zmedico
2 Date: 2008-11-24 06:51:43 +0000 (Mon, 24 Nov 2008)
3 New Revision: 12084
4
5 Modified:
6 main/branches/2.1.6/mkrelease.sh
7 Log:
8 Use tar options to make files owned in release tarballs owned by
9 portage:portage instead of the current user. (trunk r12081)
10
11
12 Modified: main/branches/2.1.6/mkrelease.sh
13 ===================================================================
14 --- main/branches/2.1.6/mkrelease.sh 2008-11-24 06:41:18 UTC (rev 12083)
15 +++ main/branches/2.1.6/mkrelease.sh 2008-11-24 06:51:43 UTC (rev 12084)
16 @@ -79,7 +79,8 @@
17 cd "${RELEASE_BUILDDIR}"
18
19 echo ">>> Creating release tarball ${RELEASE_TARBALL}"
20 -tar cfj "${RELEASE_TARBALL}" "${RELEASE}" || die "tarball creation failed"
21 +tar --owner portage --group portage -cjf "${RELEASE_TARBALL}" "${RELEASE}" || \
22 + die "tarball creation failed"
23
24 DISTDIR=$(portageq distdir)
25 if [ -n "${DISTDIR}" -a -d "${DISTDIR}" -a -w "${DISTDIR}" ]; then