mirror of
https://github.com/italicsjenga/agb.git
synced 2024-12-23 16:21:33 +11:00
Only download mgba if it doesn't exist
This commit is contained in:
parent
8d08f18349
commit
ecf43f738b
|
@ -6,6 +6,10 @@ CURRENT_DIRECTORY=$(pwd)
|
|||
|
||||
cd "${OUT_DIRECTORY}" || exit
|
||||
|
||||
if [[ ! -f "mgba-${MGBA_VERSION}.tar.gz" ]]; then
|
||||
curl -L "https://github.com/mgba-emu/mgba/archive/refs/tags/${MGBA_VERSION}.tar.gz" -o "mgba-${MGBA_VERSION}.tar.gz"
|
||||
fi
|
||||
|
||||
if [[ -f libmgba-cycle.a ]]; then
|
||||
exit 0
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue