From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-1293902-garchives=archives.gentoo.org@lists.gentoo.org>
Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(No client certificate requested)
	by finch.gentoo.org (Postfix) with ESMTPS id 8636C1382C5
	for <garchives@archives.gentoo.org>; Tue, 15 Jun 2021 14:18:51 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id C11F0E083B;
	Tue, 15 Jun 2021 14:18:50 +0000 (UTC)
Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4])
	(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
	(No client certificate requested)
	by pigeon.gentoo.org (Postfix) with ESMTPS id A7313E083B
	for <gentoo-commits@lists.gentoo.org>; Tue, 15 Jun 2021 14:18:50 +0000 (UTC)
Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84])
	(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
	(No client certificate requested)
	by smtp.gentoo.org (Postfix) with ESMTPS id 3C4C7340E99
	for <gentoo-commits@lists.gentoo.org>; Tue, 15 Jun 2021 14:18:49 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id 7930E720
	for <gentoo-commits@lists.gentoo.org>; Tue, 15 Jun 2021 14:18:47 +0000 (UTC)
From: "Andreas K. Hüttel" <dilfridge@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, "Andreas K. Hüttel" <dilfridge@gentoo.org>
Message-ID: <1623766717.5413402d5ae386897d24ac39a7755de77ef3d9c5.dilfridge@gentoo>
Subject: [gentoo-commits] proj/releng:master commit in: tools/
X-VCS-Repository: proj/releng
X-VCS-Files: tools/catalyst-auto-qemu-riscv.conf
X-VCS-Directories: tools/
X-VCS-Committer: dilfridge
X-VCS-Committer-Name: Andreas K. Hüttel
X-VCS-Revision: 5413402d5ae386897d24ac39a7755de77ef3d9c5
X-VCS-Branch: master
Date: Tue, 15 Jun 2021 14:18:47 +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-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply
X-Archives-Salt: 187c4997-829c-4388-97bb-163920bca09e
X-Archives-Hash: 075922f0944934234a76ec59ee2b68f1

commit:     5413402d5ae386897d24ac39a7755de77ef3d9c5
Author:     Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org>
AuthorDate: Tue Jun 15 14:18:23 2021 +0000
Commit:     Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org>
CommitDate: Tue Jun 15 14:18:37 2021 +0000
URL:        https://gitweb.gentoo.org/proj/releng.git/commit/?id=5413402d

Fix riscv upload instructions

Signed-off-by: Andreas K. Hüttel <dilfridge <AT> gentoo.org>

 tools/catalyst-auto-qemu-riscv.conf | 17 ++++++++++-------
 1 file changed, 10 insertions(+), 7 deletions(-)

diff --git a/tools/catalyst-auto-qemu-riscv.conf b/tools/catalyst-auto-qemu-riscv.conf
index d6fed219..a1ebcf8e 100644
--- a/tools/catalyst-auto-qemu-riscv.conf
+++ b/tools/catalyst-auto-qemu-riscv.conf
@@ -51,16 +51,19 @@ update_symlinks() {
 post_build() {
 	local set=$1 spec=$2
 
-	pushd "${BUILD_SRCDIR_BASE}/builds/default" >/dev/null
-
 	case ${spec} in
+		stage3*lp64*20.0*.spec)
+			pushd "${BUILD_SRCDIR_BASE}/builds/20.0" >/dev/null
+			upload stage3-rv64_$(echo ${spec}|sed -e 's:^stage3-::g' -e 's:\.spec$::g')-${TIMESTAMP}*.xz*
+			popd >/dev/null
+			;;
 		stage3*lp64*.spec)
+			pushd "${BUILD_SRCDIR_BASE}/builds/default" >/dev/null
 			upload stage3-rv64_$(echo ${spec}|sed -e 's:^stage3-::g' -e 's:\.spec$::g')-${TIMESTAMP}*.xz*
+			popd >/dev/null
+			;;
+		*)
+			echo "Finished ${spec}"
 			;;
-	*)
-		echo "Finished ${spec}"
-		;;
 	esac
-
-	popd >/dev/null
 }