Commit 8af9b7cc authored by Willi Rath's avatar Willi Rath

Remove env if pip is used

parent 0082c86e
Pipeline #552 failed with stage
in 23 seconds
......@@ -24,6 +24,6 @@ echo "Updating env files:"
echo "${@:2}"
for f in "${@:2}"; do
name=`cat $f | grep '^name:' | cut -d: -f2- | tr -d "[:blank:]"`
conda env remove -n ${name} -y -q
grep 'pip:' $f && conda env remove -n ${name} -y -q
conda env update -q -f $f || exit 1
done
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment