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 Nov 29, 2022
1 parent 105fbda commit 678d5b0
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 678d5b0

Please sign in to comment.