1
0
Fork 0
mirror of https://github.com/cisagov/log4j-affected-db.git synced 2024-11-22 08:30:48 +00:00

Respect customs.

This commit is contained in:
Felddy 2020-06-22 16:50:42 -04:00
parent 5d1d134c88
commit 8a105ca040
No known key found for this signature in database
GPG key ID: AFD7E112AF75260E

View file

@ -134,9 +134,8 @@ python3 -m pip install --upgrade pip setuptools wheel
# Find a requirements file (if possible) and install
for req_file in "requirements-dev.txt" "requirements-test.txt" "requirements.txt"; do
if [[ -f $req_file ]]
then
pip install -r $req_file
if [[ -f $req_file ]]; then
pip install --requirement $req_file
break
fi
done