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>
This commit is contained in:
Jan Mulder 2017-12-04 02:23:34 +01:00 committed by Dirk Hohndel
parent 0ce44b8ed1
commit a3b66b429e

View file

@ -341,7 +341,7 @@ cd $SRC
cd subsurface
if [ ! -d subsurface/libdivecomputer/src ] ; then
if [ ! -d libdivecomputer/src ] ; then
git submodule update --recursive
fi