aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--scripts/build/p-metasmt.inc5
1 files 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() {