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

Remove locally installed pip package to avoid confusions downloading db.sql3 files

parent 656da629
No related branches found
No related tags found
No related merge requests found
......@@ -10,6 +10,16 @@ prepare_build_env ${CONDA_FOLDER} ${PREFIX}
# setup database locally and run `bob_dbmanage.py all download`
# if this is a database package - need auxiliary file for package
if [[ ${CI_PROJECT_NAME} == bob.db.* ]]; then
use_pip=`which pip`
if [ -z "${use_pip}" ]; then
log_error "Cannot find pip, aborting..."
exit 1
else
log_info "Using pip: ${use_pip}"
fi
# remove locally installed pip package
run_cmd ${use_pip} uninstall --yes ${CI_PROJECT_NAME}
use_buildout=`which buildout`
if [ -z "${use_buildout}" ]; then
log_error "Cannot find buildout, aborting..."
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment