Skip to content
Snippets Groups Projects
Commit 5f02768c authored by André Anjos's avatar André Anjos :speech_balloon:
Browse files

[bootstrap] Fix and clause

parent a7e3b903
No related branches found
No related tags found
No related merge requests found
......@@ -44,7 +44,7 @@ if [ ! -d ${PREFIX} ]; then
curl --silent https://gitlab.idiap.ch/bob/bob.admin/raw/master/${ARCH}/devel-py${pyver}.txt > env.txt
echo "[++] Bootstrapping conda installation at ${PREFIX}..."
run_cmd ${CONDA_FOLDER}/bin/conda create --prefix ${PREFIX} --file env.txt --yes
if [ "${ARCH}" == "macosx" && -e "${PREFIX}/lib/libjpeg.8.dylib" ]; then
if [ "${ARCH}" == "macosx" ] && [ -e "${PREFIX}/lib/libjpeg.8.dylib" ]; then
run_cmd install_name_tool -id @rpath/libjpeg.8.dylib ${PREFIX}/lib/libjpeg.8.dylib
fi
run_cmd ${CONDA_FOLDER}/bin/conda clean --lock
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment