Skip to content

Commit cffc5cf

Browse files
richsalzcabo
andauthored
fix: Avoid creating a .yml-r file (ietf-tools#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>
1 parent 214d307 commit cffc5cf

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

docker/run

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,9 @@ done
4141
rm -rf .parcel-cache __pycache__
4242

4343
# Create extended docker-compose definition
44-
cp docker-compose.extend.yml docker-compose.extend-custom.yml
45-
sed -i -r -e "s/CUSTOM_PORT/$CUSTOM_PORT/" docker-compose.extend-custom.yml
44+
sed -e "s/CUSTOM_PORT/$CUSTOM_PORT/" \
45+
<docker-compose.extend.yml \
46+
>docker-compose.extend-custom.yml
4647
cd ..
4748

4849
# Set UID/GID mappings

0 commit comments

Comments
 (0)