mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-05-18 18:58:27 +00:00
Fixed mkdir warning when running iosbuild.sh multiple times
This commit is contained in:
parent
03a7abf80c
commit
2aec184e36
1 changed files with 8 additions and 6 deletions
|
@ -11,7 +11,9 @@ fi
|
|||
SRC_DIR=$(cd `dirname $0`/..; pwd)
|
||||
if [ "$PWD" = "$SRC_DIR" ]; then
|
||||
PREFIX=$SRC_DIR/ios-build
|
||||
if [ ! -d "$PREFIX" ]; then
|
||||
mkdir $PREFIX
|
||||
fi
|
||||
else
|
||||
PREFIX=$PWD
|
||||
fi
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue