mirror of
https://github.com/italicsjenga/agb.git
synced 2024-12-23 16:21:33 +11:00
don't rebuild if file exists
This commit is contained in:
parent
0f4cbc8e09
commit
c7a7034618
|
@ -5,6 +5,11 @@ OUT_DIRECTORY=$2
|
||||||
CURRENT_DIRECTORY=$(pwd)
|
CURRENT_DIRECTORY=$(pwd)
|
||||||
|
|
||||||
cd ${OUT_DIRECTORY}
|
cd ${OUT_DIRECTORY}
|
||||||
|
|
||||||
|
if [[ -f libmgba-cycle.a ]]; then
|
||||||
|
exit 0
|
||||||
|
fi
|
||||||
|
|
||||||
curl -L https://github.com/mgba-emu/mgba/archive/refs/tags/${MGBA_VERSION}.tar.gz -o mgba-${MGBA_VERSION}.tar.gz
|
curl -L https://github.com/mgba-emu/mgba/archive/refs/tags/${MGBA_VERSION}.tar.gz -o mgba-${MGBA_VERSION}.tar.gz
|
||||||
tar -xvf mgba-${MGBA_VERSION}.tar.gz
|
tar -xvf mgba-${MGBA_VERSION}.tar.gz
|
||||||
cd mgba-${MGBA_VERSION}
|
cd mgba-${MGBA_VERSION}
|
||||||
|
|
Loading…
Reference in a new issue