Skip to content

Commit

Permalink
Add backwards-compatible reference to new build-requirements.txt
Browse files Browse the repository at this point in the history
  • Loading branch information
eloquence committed Oct 26, 2023
1 parent 8a89182 commit f664d48
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion securedrop-proxy/debian/rules
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@
%:
dh $@ --with python-virtualenv

REQUIREMENTS_FILE=requirements/build-requirements.txt
# For backwards compatibility; can be set to build-requirements.txt once fully switched to new path
REQUIREMENTS_FILE=$(shell test -e build-requirements.txt && echo "build-requirements.txt" || echo "requirements/build-requirements.txt")

override_dh_virtualenv:
test -e $(REQUIREMENTS_FILE)
Expand Down

0 comments on commit f664d48

Please sign in to comment.