scripts/setup-and-run-repoman.sh: checkout portage tag

checking out any current repoman version tag puts portage
 into a version where EAPI 8 support is not enabled

Signed-off-by: Theo Anderson <telans@posteo.de>
This commit is contained in:
Theo Anderson
2021-06-17 16:37:11 +12:00
parent 199e64a5ee
commit c738bdab3a

View File

@@ -1,5 +1,6 @@
#! /usr/bin/env bash
# Maintainer: Andrew Ammerlaan <andrewammerlaan@gentoo.org>
# Maintainer: Theo Anderson <telans@posteo.de>
#
# This sets up repoman and runs the latest version
#
@@ -16,7 +17,7 @@ git clone https://github.com/gentoo/portage.git
cd portage
# Get all versions, and read into array
mapfile -t RM_VERSIONS < <( git tag | grep repoman | sort -uV )
mapfile -t RM_VERSIONS < <( git tag | grep portage | sort -uV )
# Select latests version (last element in array)
RM_VERS="${RM_VERSIONS[-1]}"