Skip to content

Commit 4be431b

Browse files
committed
Fixed codegen in case of the GOPATH is specified explicitly
1 parent 0cbb65f commit 4be431b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

hack/update-codegen.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,8 @@ trap "cleanup" EXIT SIGINT
1818
bash "${CODEGEN_PKG}/generate-groups.sh" all \
1919
"${OPERATOR_PACKAGE_ROOT}/pkg/generated" "${OPERATOR_PACKAGE_ROOT}/pkg/apis" \
2020
"acid.zalan.do:v1 zalando.org:v1" \
21-
--go-header-file "${SCRIPT_ROOT}"/hack/custom-boilerplate.go.txt
21+
--go-header-file "${SCRIPT_ROOT}"/hack/custom-boilerplate.go.txt \
22+
-o ./
2223

2324
cp -r "${OPERATOR_PACKAGE_ROOT}"/pkg/* "${TARGET_CODE_DIR}"
2425

0 commit comments

Comments
 (0)