libdc: fix iOS build script

Mis-counted directories and missed the submodule init call.

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Dirk Hohndel 2017-12-04 12:53:43 -08:00
parent 0a2e53caf2
commit 31641c19bf

View file

@ -259,8 +259,9 @@ echo next building for $ARCH
#
# build libdivecomputer
if [ ! -d ../../../libdivecomputer/src ] ; then
pushd ../../..
if [ ! -d ../../libdivecomputer/src ] ; then
pushd ../..
git submodule init
git submodule update --recursive
pushd libdivecomputer
autoreconf --install