[ios] Updates configure to work when project is a submodule

This commit is contained in:
Cameron Mulhern
2016-01-14 12:45:57 -05:00
committed by Minh Nguyễn
parent 488fa3a4c5
commit a5889409cc

2
configure vendored
View File

@@ -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}"