mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-17 20:02:05 +00:00
Do not destroy symlinks with sed
This commit is contained in:
parent
0b6f632584
commit
1565f2c233
@ -8,4 +8,4 @@ GIT_ROOT=${GIT_ROOT:-.}
|
||||
VERSION=$(sed -e '1 s/^v//; 1 s/-.*//p; d' "$GIT_ROOT"/utils/list-versions/version_date.tsv)
|
||||
|
||||
find "$GIT_ROOT/docker/keeper/" "$GIT_ROOT/docker/server/" -name 'Dockerfile.*' -print0 | \
|
||||
xargs -0 sed -i "/^ARG VERSION=/ s/^.*$/ARG VERSION=\"$VERSION\"/"
|
||||
xargs -0 sed -i --follow-symlinks "/^ARG VERSION=/ s/^.*$/ARG VERSION=\"$VERSION\"/"
|
||||
|
Loading…
Reference in New Issue
Block a user