diff options
| author | Michał Górny <mgorny@gentoo.org> | 2022-05-20 19:13:21 +0200 |
|---|---|---|
| committer | Michał Górny <mgorny@gentoo.org> | 2022-05-20 19:13:21 +0200 |
| commit | bb0768f7aaa59b762014a303218eda57dce2ed1c (patch) | |
| tree | 3001a260a6135cb4e2542a2b8aee93976a858442 | |
| parent | 4cf2bc6a0622fb751152814049fea2f9805f6f8d (diff) | |
| download | gentoo-bb0768f7aaa59b762014a303218eda57dce2ed1c.tar.gz gentoo-bb0768f7aaa59b762014a303218eda57dce2ed1c.tar.bz2 gentoo-bb0768f7aaa59b762014a303218eda57dce2ed1c.zip | |
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>
| -rw-r--r-- | games-emulation/dolphin/dolphin-5.0_p20220520.ebuild | 2 | ||||
| -rw-r--r-- | games-emulation/dolphin/dolphin-9999.ebuild | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/games-emulation/dolphin/dolphin-5.0_p20220520.ebuild b/games-emulation/dolphin/dolphin-5.0_p20220520.ebuild index 582306b2f5a3..d01848ded241 100644 --- a/games-emulation/dolphin/dolphin-5.0_p20220520.ebuild +++ b/games-emulation/dolphin/dolphin-5.0_p20220520.ebuild @@ -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 diff --git a/games-emulation/dolphin/dolphin-9999.ebuild b/games-emulation/dolphin/dolphin-9999.ebuild index 69da69fee18f..d888afe15b4d 100644 --- a/games-emulation/dolphin/dolphin-9999.ebuild +++ b/games-emulation/dolphin/dolphin-9999.ebuild @@ -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 |
