fg-from-scratch: Improve handling of missing 'build' folders.
This commit is contained in:
parent
7de0f9f524
commit
44bdb42fd0
1 changed files with 12 additions and 4 deletions
|
@ -46,8 +46,10 @@ IF NOT EXIST vcpkg-git/NUL (
|
||||||
)
|
)
|
||||||
cd %ROOT_DIR%
|
cd %ROOT_DIR%
|
||||||
|
|
||||||
IF NOT EXIST openscenegraph-3.4-git/NUL (
|
IF NOT EXIST openscenegraph-3.4-build/NUL (
|
||||||
mkdir openscenegraph-3.4-build
|
mkdir openscenegraph-3.4-build
|
||||||
|
)
|
||||||
|
IF NOT EXIST openscenegraph-3.4-git/NUL (
|
||||||
echo Downloading OpenSceneGraph . . .
|
echo Downloading OpenSceneGraph . . .
|
||||||
git clone -b OpenSceneGraph-3.4 https://github.com/openscenegraph/OpenSceneGraph.git openscenegraph-3.4-git
|
git clone -b OpenSceneGraph-3.4 https://github.com/openscenegraph/OpenSceneGraph.git openscenegraph-3.4-git
|
||||||
) ELSE (
|
) ELSE (
|
||||||
|
@ -57,8 +59,10 @@ IF NOT EXIST openscenegraph-3.4-git/NUL (
|
||||||
)
|
)
|
||||||
cd %ROOT_DIR%
|
cd %ROOT_DIR%
|
||||||
|
|
||||||
IF NOT EXIST simgear-git/NUL (
|
IF NOT EXIST simgear-build/NUL (
|
||||||
mkdir simgear-build
|
mkdir simgear-build
|
||||||
|
)
|
||||||
|
IF NOT EXIST simgear-git/NUL (
|
||||||
echo Downloading SimGear . . .
|
echo Downloading SimGear . . .
|
||||||
git clone -b next https://git.code.sf.net/p/flightgear/simgear simgear-git
|
git clone -b next https://git.code.sf.net/p/flightgear/simgear simgear-git
|
||||||
) ELSE (
|
) ELSE (
|
||||||
|
@ -68,8 +72,10 @@ IF NOT EXIST simgear-git/NUL (
|
||||||
)
|
)
|
||||||
cd %ROOT_DIR%
|
cd %ROOT_DIR%
|
||||||
|
|
||||||
IF NOT EXIST flightgear-git/NUL (
|
IF NOT EXIST flightgear-build/NUL (
|
||||||
mkdir flightgear-build
|
mkdir flightgear-build
|
||||||
|
)
|
||||||
|
IF NOT EXIST flightgear-git/NUL (
|
||||||
echo Downloading FlightGear . . .
|
echo Downloading FlightGear . . .
|
||||||
git clone -b next https://git.code.sf.net/p/flightgear/flightgear flightgear-git
|
git clone -b next https://git.code.sf.net/p/flightgear/flightgear flightgear-git
|
||||||
) ELSE (
|
) ELSE (
|
||||||
|
@ -79,8 +85,10 @@ IF NOT EXIST flightgear-git/NUL (
|
||||||
)
|
)
|
||||||
cd %ROOT_DIR%
|
cd %ROOT_DIR%
|
||||||
|
|
||||||
IF NOT EXIST terragear-git/NUL (
|
IF NOT EXIST terragear-build/NUL (
|
||||||
mkdir terragear-build
|
mkdir terragear-build
|
||||||
|
)
|
||||||
|
IF NOT EXIST terragear-git/NUL (
|
||||||
echo Downloading TerraGear . . .
|
echo Downloading TerraGear . . .
|
||||||
git clone -b next https://git.code.sf.net/p/flightgear/terragear terragear-git
|
git clone -b next https://git.code.sf.net/p/flightgear/terragear terragear-git
|
||||||
) ELSE (
|
) ELSE (
|
||||||
|
|
Loading…
Add table
Reference in a new issue