Commit fc70f343 authored by Willi Rath's avatar Willi Rath

Do not include hyphen

parent 2d135b35
Pipeline #557 passed with stage
in 11 minutes and 34 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:]"`
grep -q '- pip:' $f && conda env remove -n ${name} -y -q
grep -q '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