From fce34fbbc659e795b0bf277c36ac7afb849129f3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Timoth=C3=A9e=20Ravier?= Date: Mon, 19 Aug 2024 15:46:00 +0200 Subject: [PATCH] README: Update branching instructions - Tell sed to follow symlinks insteads of creating new copies of files. - Fix glob for rawhide repo removal sed call --- README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index fe1a064..8add76a 100644 --- a/README.md +++ b/README.md @@ -188,7 +188,7 @@ Make a PR similar to ``` sed -i "s/42/43/g" *.repo comps-sync.py sed -i "s/releasever: 42/releasever: 43/" common.yaml -sed -i "s/# - fedora-42/# - fedora-43/" *.yaml +sed -i --follow-symlinks "s/# - fedora-42/# - fedora-43/" *.yaml mv fedora-42.repo fedora-43.repo mv fedora-42-updates.repo fedora-43-updates.repo sed -i "s/43/44/g" README.md @@ -199,9 +199,9 @@ sed -i "s/42/43/g" README.md ``` rm fedora-rawhide.repo -sed -i "/- fedora-rawhide/d" fedora-*.yaml -sed -i "s/# - fedora-42/- fedora-42/" *.yaml -sed -i "s/ref: fedora\/rawhide/ref: fedora\/42/" *.yaml +sed -i --follow-symlinks "/- fedora-rawhide/d" *.yaml +sed -i --follow-symlinks "s/# - fedora-42/- fedora-42/" *.yaml +sed -i --follow-symlinks "s/ref: fedora\/rawhide/ref: fedora\/42/" *.yaml ``` ## Historical references