We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3799d6b commit 67c4bd1Copy full SHA for 67c4bd1
patch/apply-patch.sh
@@ -26,6 +26,16 @@ done
26
pushd "$TARGET_ISTIO_DIR"
27
go mod tidy
28
go install golang.org/x/tools/cmd/goimports@latest # required by codegen
29
+if [ "$(uname -s)" = "Darwin" ]; then
30
+ sed -i '' -e 's/.\/site/.\/external\/istio/' ../../go.work
31
+else
32
+ sed -i -e 's/.\/site/.\/external\/istio/' ../../go.work
33
+fi
34
# go run will fail without adding `./external/istio` to go.work
35
go run pkg/config/schema/codegen/tools/collections.main.go
36
37
+ sed -i '' -e 's/.\/external\/istio/.\/site/' ../../go.work
38
39
+ sed -i -e 's/.\/external\/istio/.\/site/' ../../go.work
40
41
popd
0 commit comments