mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-11-30 15:52:50 +00:00
TO REPEAT:
git ls-files ':!:vendor/k8s.io/gengo' ':!:gengo-v2' ':(glob)**/*.go' \
| xargs grep -l 'k8s.io/gengo/' \
| while read F; do \
sed -i 's|k8s.io/gengo/\([^v]\)|k8s.io/gengo/v2/\1|' $F
done
1.3 KiB
1.3 KiB