games-emulation/dolphin: Do not remove mgba in 9999

Thanks to xarblu for the suggestion.

Closes: https://bugs.gentoo.org/846578
Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
Michał Górny
2022-05-20 19:13:21 +02:00
parent 4cf2bc6a06
commit bb0768f7aa
2 changed files with 2 additions and 2 deletions

View File

@@ -117,7 +117,7 @@ declare -A KEEP_BUNDLED=(
)
src_prepare() {
if use mgba; then
if use mgba && [[ ${PV} != *9999 ]]; then
rmdir Externals/mGBA/mgba || die
mv "${WORKDIR}/mgba-${MGBA_COMMIT}" Externals/mGBA/mgba || die
fi

View File

@@ -117,7 +117,7 @@ declare -A KEEP_BUNDLED=(
)
src_prepare() {
if use mgba; then
if use mgba && [[ ${PV} != *9999 ]]; then
rmdir Externals/mGBA/mgba || die
mv "${WORKDIR}/mgba-${MGBA_COMMIT}" Externals/mGBA/mgba || die
fi