summaryrefslogtreecommitdiffstats
path: root/scripts/windows/before_install.sh
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/windows/before_install.sh')
-rw-r--r--scripts/windows/before_install.sh12
1 files changed, 3 insertions, 9 deletions
diff --git a/scripts/windows/before_install.sh b/scripts/windows/before_install.sh
index 1d95206a0..7eef67d17 100644
--- a/scripts/windows/before_install.sh
+++ b/scripts/windows/before_install.sh
@@ -36,16 +36,10 @@ CURRENT_HIDAPI="hidapi-0.7.0"
CURRENT_LIBUSB="v1.0.21"
CURRENT_LIBGIT2="v0.26.0"
-
-#this will soon be a git submodule
+# make sure we have libdivecomputer
echo "Get libdivecomputer"
-cd ${TRAVIS_BUILD_DIR}/..
-git clone -b Subsurface-branch https://github.com/Subsurface-divelog/libdc.git libdivecomputer
-cd libdivecomputer
-if [ ! -f ./configure ] ; then
- autoreconf --install .
- autoreconf --install . # not a typo - somehow/sometimes libdivecomputer needs to run this twice. Don't ask.
-fi
+cd ${TRAVIS_BUILD_DIR}
+git submodule update --recursive
echo "Get libusb"
cd ${TRAVIS_BUILD_DIR}/..