10
0
mirror of https://github.com/LCPQ/quantum_package synced 2024-10-19 22:41:48 +02:00

Fixed configure

This commit is contained in:
Anthony Scemama 2018-12-14 09:35:37 +01:00
parent 5edb9bc087
commit 69c6361cd7

14
configure vendored
View File

@ -277,12 +277,18 @@ EOF
cd "${QP_ROOT}" cd "${QP_ROOT}"
elif [[ ${PACKAGE} = bats ]] ; then elif [[ ${PACKAGE} = bats ]] ; then
download \
"https://github.com/bats-core/bats-core/archive/v1.1.0.tar.gz" \
"${QP_ROOT}"/external/bats.tar.gz
cd "${QP_ROOT}"/external cd "${QP_ROOT}"/external
git clone https://github.com/bats-core/bats-core.git tar -zxf bats.tar.gz
cd bats-core cd bats-core-1.1.0/
./install.sh . ./install.sh $QP_ROOT
ln -s ./bin/bats "${QP_ROOT}"/bin/bats cd ..
rm -rf bats-core-1.1.0 "${QP_ROOT}"/external/bats.tar.gz
cd "${QP_ROOT}" cd "${QP_ROOT}"
fi fi