Skip to content

Commit

Permalink
Don't source library.sh in test generator
Browse files Browse the repository at this point in the history
  • Loading branch information
dsimansk committed Jan 17, 2025
1 parent 64f0a46 commit 3d28a44
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion test/test-reconciler-codegen.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,9 @@ set -o errexit
set -o nounset
set -o pipefail

source $(dirname $0)/../vendor/knative.dev/hack/library.sh
#source $(dirname $0)/../vendor/knative.dev/hack/library.sh
[[ ! -v REPO_ROOT_DIR ]] && REPO_ROOT_DIR="$(git rev-parse --show-toplevel)"
readonly REPO_ROOT_DIR

CODEGEN_PKG=${CODEGEN_PKG:-$(cd ${REPO_ROOT_DIR}; ls -d -1 $(dirname $0)/../vendor/k8s.io/code-generator 2>/dev/null || echo ../code-generator)}
KNATIVE_CODEGEN_PKG=${KNATIVE_CODEGEN_PKG:-$(cd ${REPO_ROOT_DIR}; ls -d -1 $(dirname $0)/../vendor/knative.dev/pkg 2>/dev/null || echo ../pkg)}
Expand Down

0 comments on commit 3d28a44

Please sign in to comment.