download_and_compile.sh: create openscenegraph dir only when OSG build is enabled
Dont create the 'openscenegraph' directory when the OSG build is not selected (request from user ctesc356 of the French forum).
This commit is contained in:
parent
caaad41e26
commit
1f27f8e39a
1 changed files with 2 additions and 2 deletions
|
@ -790,13 +790,13 @@ fi
|
|||
OSG_INSTALL_DIR=openscenegraph
|
||||
INSTALL_DIR_OSG=$INSTALL_DIR/$OSG_INSTALL_DIR
|
||||
cd "$CBD"
|
||||
mkdir -p "openscenegraph"
|
||||
if _elementIn "OSG" "${WHATTOBUILD[@]}"; then
|
||||
_printLog "****************************************"
|
||||
_printLog "**************** OSG *******************"
|
||||
_printLog "****************************************"
|
||||
|
||||
cd "$CBD"/openscenegraph
|
||||
mkdir -p "openscenegraph"
|
||||
cd "openscenegraph"
|
||||
_gitDownload OSG
|
||||
_gitUpdate OpenSceneGraph-3.4
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue