mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-04-07 03:10:15 -04:00
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:
@@ -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]}"
|
||||
|
||||
Reference in New Issue
Block a user