1
0
Fork 0
mirror of synced 2025-01-06 13:12:16 -05:00

Use -E instead of -r

The BSD version of sed doesn't support -r, but -E seems universally
supported.
This commit is contained in:
Tim Byrne 2020-12-30 14:43:47 -06:00
parent 1f82ccc2b9
commit 207e0a9850
No known key found for this signature in database
GPG key ID: 14DB4FC2465A4B12

View file

@ -144,10 +144,11 @@ scripthost: require-docker .testyadm
testenv:
@echo 'Creating a local virtual environment in "testenv/"'
@echo
@rm -rf testenv
python3 -m venv --clear testenv
testenv/bin/pip3 install --upgrade pip setuptools
testenv/bin/pip3 install --upgrade -r test/requirements.txt;
@for v in $$(sed -rn -e 's:.*/yadm-([0-9.]+)$$:\1:p' test/Dockerfile); do \
@for v in $$(sed -En -e 's:.*/yadm-([0-9.]+)$$:\1:p' test/Dockerfile); do \
git show $$v:yadm > testenv/bin/yadm-$$v; \
chmod +x testenv/bin/yadm-$$v; \
done