Commit 2d135b35 authored by Willi Rath's avatar Willi Rath

Make grep quiet

parent 7cbb96ab
Pipeline #555 canceled with stage
in 12 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 '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
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment