summaryrefslogtreecommitdiffstats
path: root/scripts/build.sh
diff options
context:
space:
mode:
authorGravatar Jan Mulder <jlmulder@xs4all.nl>2017-12-04 02:23:34 +0100
committerGravatar Dirk Hohndel <dirk@hohndel.org>2017-12-03 19:05:41 -0800
commita3b66b429e704b61ea62b0dcecdf035fbe56c74d (patch)
tree1f9e6c2d443f8599a8792202a763b47ce306f0b8 /scripts/build.sh
parent0ce44b8ed1509c775f5f20ae752a52c1016a09e7 (diff)
downloadsubsurface-a3b66b429e704b61ea62b0dcecdf035fbe56c74d.tar.gz
build system: fix build of libdivecomputer
Trivial fix. Do not first cd to the ./src/subsurface directory, and then prepend the subsurface directory to the path. Signed-off-by: Jan Mulder <jlmulder@xs4all.nl>
Diffstat (limited to 'scripts/build.sh')
-rwxr-xr-xscripts/build.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/build.sh b/scripts/build.sh
index e60279bc6..1294a217e 100755
--- a/scripts/build.sh
+++ b/scripts/build.sh
@@ -341,7 +341,7 @@ cd $SRC
cd subsurface
-if [ ! -d subsurface/libdivecomputer/src ] ; then
+if [ ! -d libdivecomputer/src ] ; then
git submodule update --recursive
fi