Skip to content

Commit

Permalink
scripts/build_docs: don't assume GOPATH is set (#33847)
Browse files Browse the repository at this point in the history
  • Loading branch information
efd6 authored and chrisberkhout committed Jun 1, 2023
1 parent 934130e commit 6db63ef
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions script/build_docs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ else
echo "$docs_dir already exists. Not cloning."
fi

GOPATH=$(go env GOPATH)
index_list="$(find ${GOPATH%%:*}/src/$path -name 'index.asciidoc' -maxdepth 1)"
for index in $index_list
do
Expand Down

0 comments on commit 6db63ef

Please sign in to comment.