[ios] Updates configure to work when project is a submodule
This commit is contained in:
committed by
Minh Nguyễn
parent
488fa3a4c5
commit
a5889409cc
2
configure
vendored
2
configure
vendored
@@ -15,7 +15,7 @@ function abort { >&2 echo -e "\033[1m\033[31m$1\033[0m"; exit 1; }
|
||||
function info { >&2 echo -e "\033[1m\033[33m$1\033[0m"; }
|
||||
function warn { >&2 echo -e "\033[1m\033[33m$1\033[0m"; }
|
||||
|
||||
if [ -d "`pwd`/.git" ]; then
|
||||
if [ -e "`pwd`/.git" ]; then
|
||||
info "This build is within a git repository"
|
||||
export MASON_DIR="`pwd`/.mason"
|
||||
export PATH="${MASON_DIR}:${PATH}"
|
||||
|
||||
Reference in New Issue
Block a user