From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-620077-garchives=archives.gentoo.org@lists.gentoo.org>
Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80])
	by finch.gentoo.org (Postfix) with ESMTP id 83CA21381F3
	for <garchives@archives.gentoo.org>; Sat, 17 Aug 2013 18:59:11 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 5266DE0AFF;
	Sat, 17 Aug 2013 18:59:06 +0000 (UTC)
Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183])
	(using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits))
	(No client certificate requested)
	by pigeon.gentoo.org (Postfix) with ESMTPS id DD6F4E0AFF
	for <gentoo-commits@lists.gentoo.org>; Sat, 17 Aug 2013 18:59:05 +0000 (UTC)
Received: from hornbill.gentoo.org (hornbill.gentoo.org [94.100.119.163])
	(using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits))
	(No client certificate requested)
	by smtp.gentoo.org (Postfix) with ESMTPS id C736933EB17
	for <gentoo-commits@lists.gentoo.org>; Sat, 17 Aug 2013 18:59:04 +0000 (UTC)
Received: from localhost.localdomain (localhost [127.0.0.1])
	by hornbill.gentoo.org (Postfix) with ESMTP id 49C6EE468F
	for <gentoo-commits@lists.gentoo.org>; Sat, 17 Aug 2013 18:59:03 +0000 (UTC)
From: "Raúl Porcel" <armin76@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Content-Transfer-Encoding: 8bit
Content-type: text/plain; charset=UTF-8
Reply-To: gentoo-dev@lists.gentoo.org, "Raúl Porcel" <armin76@gentoo.org>
Message-ID: <1376765924.35ff9cd6161b0121e2ced6baa5553d68c56093cd.armin76@gentoo>
Subject: [gentoo-commits] proj/releng:master commit in: scripts/
X-VCS-Repository: proj/releng
X-VCS-Files: scripts/copy_buildsync.sh
X-VCS-Directories: scripts/
X-VCS-Committer: armin76
X-VCS-Committer-Name: Raúl Porcel
X-VCS-Revision: 35ff9cd6161b0121e2ced6baa5553d68c56093cd
X-VCS-Branch: master
Date: Sat, 17 Aug 2013 18:59:03 +0000 (UTC)
Precedence: bulk
List-Post: <mailto:gentoo-commits@lists.gentoo.org>
List-Help: <mailto:gentoo-commits+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org>
X-BeenThere: gentoo-commits@lists.gentoo.org
X-Archives-Salt: 9e8f588d-35e1-415f-bfe3-07b727076ec3
X-Archives-Hash: b9f1e600941d78c3f5b06e25397b995e

commit:     35ff9cd6161b0121e2ced6baa5553d68c56093cd
Author:     Raúl Porcel <armin76 <AT> gentoo <DOT> org>
AuthorDate: Sat Aug 17 18:58:44 2013 +0000
Commit:     Raúl Porcel <armin76 <AT> gentoo <DOT> org>
CommitDate: Sat Aug 17 18:58:44 2013 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/releng.git;a=commit;h=35ff9cd6

Use the variant function for the generic latest-stage3.txt

---
 scripts/copy_buildsync.sh | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/scripts/copy_buildsync.sh b/scripts/copy_buildsync.sh
index 6b3f83f..5c4ac37 100755
--- a/scripts/copy_buildsync.sh
+++ b/scripts/copy_buildsync.sh
@@ -75,7 +75,8 @@ for ARCH in $ARCHES; do
 	fi
 	if [ -n "${stage3_list}" ]; then
 		echo -e "${header}" >"${OUT_STAGE3}"
-		echo -e "${stage3_list}" |awk '{print $3}' |grep "$latest_stage3_date" >>${OUT_STAGE3}
+		# In the new variant preserve code there is a better way to do this
+		#echo -e "${stage3_list}" |awk '{print $3}' |grep "$latest_stage3_date" >>${OUT_STAGE3}
 		rm -f current-stage3
 		# The "latest stage3" concept doesn't apply to the arm variants
 		# that are pushed on different days of the week.
@@ -92,6 +93,7 @@ for ARCH in $ARCHES; do
 		f="latest-${v}.txt"
 		echo -e "${header}" >"${f}"
 		echo -e "${variant_path}" >>${f}
+		echo -e "${variant_path}" >>${OUT_STAGE3}
 		rm -f "current-$v"
 		ln -sf "${variant_path%/*}" "current-$v"
 		echo "${variant_path}" | sed -e 's,/.*,,g' -e 's,^,/,g' -e 's,$,$,g' >>"${tmpdir}"/.keep.${ARCH}.txt