Don't symlink macOS framework if not building it
If we are not building macOS targets then the framework has not been created and we not should go ahead with creating symlinks in it. Check whether the framework directory is there, if it's not then don't attempt to create symlinks.
This commit is contained in:
parent
7df037b599
commit
113509896b
|
@ -149,6 +149,9 @@ for SYS in ${ALL_SYSTEMS[@]}; do
|
||||||
if [[ $SYS == "MacOSX" ]]; then
|
if [[ $SYS == "MacOSX" ]]; then
|
||||||
SYSDIR="$FWROOT/$SYS"
|
SYSDIR="$FWROOT/$SYS"
|
||||||
FWDIR="$SYSDIR/$FWNAME.framework"
|
FWDIR="$SYSDIR/$FWNAME.framework"
|
||||||
|
if [[ ! -e "$FWDIR" ]]; then
|
||||||
|
continue
|
||||||
|
fi
|
||||||
cd $FWDIR
|
cd $FWDIR
|
||||||
|
|
||||||
mkdir "Versions"
|
mkdir "Versions"
|
||||||
|
|
Loading…
Reference in New Issue