From 69c6361cd72b364a9f72ac4c5c9cd7ea77ea3e37 Mon Sep 17 00:00:00 2001 From: Anthony Scemama Date: Fri, 14 Dec 2018 09:35:37 +0100 Subject: [PATCH] Fixed configure --- configure | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) diff --git a/configure b/configure index aaff9765..1a6a6f96 100755 --- a/configure +++ b/configure @@ -277,12 +277,18 @@ EOF cd "${QP_ROOT}" elif [[ ${PACKAGE} = bats ]] ; then - cd "${QP_ROOT}"/external - git clone https://github.com/bats-core/bats-core.git - cd bats-core - ./install.sh . - ln -s ./bin/bats "${QP_ROOT}"/bin/bats - cd "${QP_ROOT}" + + download \ + "https://github.com/bats-core/bats-core/archive/v1.1.0.tar.gz" \ + "${QP_ROOT}"/external/bats.tar.gz + cd "${QP_ROOT}"/external + tar -zxf bats.tar.gz + cd bats-core-1.1.0/ + ./install.sh $QP_ROOT + cd .. + rm -rf bats-core-1.1.0 "${QP_ROOT}"/external/bats.tar.gz + cd "${QP_ROOT}" + fi