10
0
mirror of https://github.com/LCPQ/quantum_package synced 2024-09-27 03:51:01 +02:00

Fixed configure

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

18
configure vendored
View File

@ -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