diff --git a/securedrop-proxy/debian/rules b/securedrop-proxy/debian/rules index 4c007cf6..606bc1a8 100755 --- a/securedrop-proxy/debian/rules +++ b/securedrop-proxy/debian/rules @@ -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)