fix: Avoid creating a .yml-r file (#5358)

* fix: Don't create yml-r files on OSx

Use sed portably, "sed <foo >bar" and avoid the flags.

* Update docker/run

Fix command line, per Carsten.

Co-authored-by: cabo <cabo@tzi.org>

---------

Co-authored-by: cabo <cabo@tzi.org>
This commit is contained in:
Rich Salz 2023-04-14 18:01:13 -04:00 committed by GitHub
parent 214d307212
commit cffc5cfdc6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -41,8 +41,9 @@ done
rm -rf .parcel-cache __pycache__
# Create extended docker-compose definition
cp docker-compose.extend.yml docker-compose.extend-custom.yml
sed -i -r -e "s/CUSTOM_PORT/$CUSTOM_PORT/" docker-compose.extend-custom.yml
sed -e "s/CUSTOM_PORT/$CUSTOM_PORT/" \
<docker-compose.extend.yml \
>docker-compose.extend-custom.yml
cd ..
# Set UID/GID mappings