From 0a052d65e68b9f9736ce2f3ce5cae23c489243a7 Mon Sep 17 00:00:00 2001 From: Martin Nowack Date: Thu, 4 Apr 2019 11:14:47 +0100 Subject: Propagate correct version of metasmt to build script --- scripts/build/p-metasmt.inc | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/scripts/build/p-metasmt.inc b/scripts/build/p-metasmt.inc index a0b973a4..7ba2d471 100644 --- a/scripts/build/p-metasmt.inc +++ b/scripts/build/p-metasmt.inc @@ -6,12 +6,13 @@ setup_build_variables_metasmt() { } download_metasmt() { + source "${DIR}/common-functions" # Clone - git clone --single-branch --depth 1 https://github.com/hoangmle/metaSMT.git "${METASMT_SRC_PATH}" + git_clone_or_update https://github.com/hoangmle/metaSMT.git "${METASMT_SRC_PATH}" "${METASMT_VERSION}" cd "${METASMT_SRC_PATH}" git submodule update --init # Bootstrap - git clone https://github.com/agra-uni-bremen/dependencies.git + git_clone_or_update https://github.com/agra-uni-bremen/dependencies.git "${METASMT_SRC_PATH}/dependencies" "development" } build_metasmt() { -- cgit 1.4.1