summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorCameron Mulhern <cameron@liveapp.com>2016-01-14 12:45:57 -0500
committerMinh Nguyễn <mxn@1ec5.org>2016-01-22 02:20:49 -0800
commita5889409cc9dd5e0cc973cdb81d69bd045bd6094 (patch)
treeff4c881c3dfab50cccdb9e900f675e02afa2ce02 /configure
parent488fa3a4c5f3bbe941b500b777c6e9335a1b4a11 (diff)
downloadqtlocation-mapboxgl-a5889409cc9dd5e0cc973cdb81d69bd045bd6094.tar.gz
[ios] Updates configure to work when project is a submodule
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure b/configure
index 180d03516e..3a4a62a1e8 100755
--- a/configure
+++ b/configure
@@ -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}"