Skip to content

Commit

Permalink
Add back in change from updater.sh that we want to keep
Browse files Browse the repository at this point in the history
  • Loading branch information
AlanCoding committed Jan 5, 2022
1 parent 02f6b24 commit 4c7f831
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions requirements/updater.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,9 @@ generate_requirements() {
${pip_compile} --output-file requirements.txt "${requirements_in}" "${requirements_git}"
# consider the git requirements for purposes of resolving deps
# Then remove any git+ lines from requirements.txt
cp requirements.txt requirements_tmp.txt
grep -v "^git+" requirements_tmp.txt > requirements.txt && rm requirements_tmp.txt
while IFS= read -r line; do
sed -i "\!${line%#*}!d" requirements.txt
done < "${requirements_git}"
}

main() {
Expand Down

0 comments on commit 4c7f831

Please sign in to comment.