Skip to content

Commit

Permalink
Improve script
Browse files Browse the repository at this point in the history
  • Loading branch information
bwohlberg committed Dec 15, 2023
1 parent 7db202a commit da9a2b8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion misc/conda/make_conda_env.sh
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ sort $ALLREQUIRE | uniq | $SED -E 's/(>|<|\|)/\\\1/g' \
PIPREQ=""
for nc in $NOCONDA; do
# Escape [ and ] for use in regex
nc=$(echo $nc | sed -E 's/(\[|\])/\\\1/g')
nc=$(echo $nc | $SED -E 's/(\[|\])/\\\1/g')
# Add package to pip package list
PIPREQ="$PIPREQ "$(grep "$nc" $FLTREQUIRE)
# Remove package $nc from conda package list
Expand Down

0 comments on commit da9a2b8

Please sign in to comment.