Fix riscv upload instructions

Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>
This commit is contained in:
Andreas K. Hüttel 2021-06-15 16:18:23 +02:00
parent a807926ea6
commit 5413402d5a
No known key found for this signature in database
GPG key ID: 4C49F79E54D0A206

View file

@ -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*.spec)
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
}