mirror of https://github.com/encounter/SDL.git
Fixed mkdir warning when running iosbuild.sh multiple times
This commit is contained in:
parent
03a7abf80c
commit
2aec184e36
|
@ -11,7 +11,9 @@ fi
|
||||||
SRC_DIR=$(cd `dirname $0`/..; pwd)
|
SRC_DIR=$(cd `dirname $0`/..; pwd)
|
||||||
if [ "$PWD" = "$SRC_DIR" ]; then
|
if [ "$PWD" = "$SRC_DIR" ]; then
|
||||||
PREFIX=$SRC_DIR/ios-build
|
PREFIX=$SRC_DIR/ios-build
|
||||||
|
if [ ! -d "$PREFIX" ]; then
|
||||||
mkdir $PREFIX
|
mkdir $PREFIX
|
||||||
|
fi
|
||||||
else
|
else
|
||||||
PREFIX=$PWD
|
PREFIX=$PWD
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in New Issue