We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 42e95bf commit ef02f2dCopy full SHA for ef02f2d
scaffold/templates/hack/genclient.sh.tpl
@@ -38,7 +38,7 @@ ln -s "$BASEDIR"/api/{{ .groupVersion }} "$TEMPDIR"/apis/{{ .groupName }}/{{ .gr
38
--plural-exceptions {{ .kind }}:{{ .resource }}
39
40
find "$TEMPDIR"/pkg/client -name "*.go" -exec \
41
- sed -i -e "s#{{ .goModule | regexQuoteMeta }}/tmp/gen/apis/{{ .groupName | regexQuoteMeta }}/{{ .groupVersion | regexQuoteMeta }}#{{ .goModule }}/api/{{ .groupVersion }}#g" \
+ perl -pi -e "s#{{ .goModule | regexQuoteMeta }}/tmp/gen/apis/{{ .groupName | regexQuoteMeta }}/{{ .groupVersion | regexQuoteMeta }}#{{ .goModule }}/api/{{ .groupVersion }}#g" \
42
{} +
43
44
rm -rf "$BASEDIR"/pkg/client
0 commit comments