summaryrefslogtreecommitdiffstats
path: root/packaging/ios/build.sh
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2017-12-04 12:53:43 -0800
committerGravatar Dirk Hohndel <dirk@hohndel.org>2017-12-04 12:53:43 -0800
commit31641c19bfcafa00de07aa98f91a0ebfee6edef3 (patch)
tree856d17203ee0113ac8262021515b14823366efa6 /packaging/ios/build.sh
parent0a2e53caf27b30186f8492fcfb6efa61ca7808b1 (diff)
downloadsubsurface-31641c19bfcafa00de07aa98f91a0ebfee6edef3.tar.gz
libdc: fix iOS build script
Mis-counted directories and missed the submodule init call. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'packaging/ios/build.sh')
-rw-r--r--packaging/ios/build.sh5
1 files changed, 3 insertions, 2 deletions
diff --git a/packaging/ios/build.sh b/packaging/ios/build.sh
index 216c5fc07..1efe6e12c 100644
--- a/packaging/ios/build.sh
+++ b/packaging/ios/build.sh
@@ -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