From 1de354f3a80f78f1747c41083a324d38269f0f2c Mon Sep 17 00:00:00 2001 From: Joshua Casey Date: Thu, 17 Aug 2023 22:16:21 -0500 Subject: [PATCH] DO NOT MERGE: SUPER HACK TO MAKE SCRIPTS EXECUTABLE --- hack/lib/update-codegen.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/hack/lib/update-codegen.sh b/hack/lib/update-codegen.sh index 641499cc8d..3b6af48654 100755 --- a/hack/lib/update-codegen.sh +++ b/hack/lib/update-codegen.sh @@ -1,6 +1,6 @@ #!/usr/bin/env bash -# Copyright 2020-2022 the Pinniped contributors. All Rights Reserved. +# Copyright 2020-2023 the Pinniped contributors. All Rights Reserved. # SPDX-License-Identifier: Apache-2.0 set -euo pipefail ROOT="$(cd "$(dirname "${BASH_SOURCE[0]}")/../.." && pwd)" @@ -119,6 +119,7 @@ echo "running go mod download in ${OUTPUT_DIR}/client/go.mod to generate a go.su # Generate API-related code for our public API groups echo "generating API-related code for our public API groups..." +chmod -R +x "${GOPATH}/src/k8s.io/code-generator/" (cd apis && bash "${GOPATH}/src/k8s.io/code-generator/generate-groups.sh" \ "deepcopy" \