Skip to content

Commit

Permalink
Remove export WORKDIR
Browse files Browse the repository at this point in the history
  • Loading branch information
aranjans committed Apr 10, 2024
1 parent f600613 commit 6a7183c
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions scripts/regenerate.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@

set -eu -o pipefail

export WORKDIR=$(mktemp -d)
WORKDIR=$(mktemp -d)

function finish {
rm -rf "$WORKDIR"
Expand Down Expand Up @@ -49,7 +49,7 @@ echo "curl https://raw.githubusercontent.com/googleapis/googleapis/master/google
curl --silent https://raw.githubusercontent.com/googleapis/googleapis/master/google/rpc/code.proto > "${WORKDIR}/googleapis/google/rpc/code.proto"

source ./scripts/protoc_installer.sh
download_protoc
download_protoc $WORKDIR

export PATH="$PATH:$GOBIN"

Expand Down Expand Up @@ -93,6 +93,7 @@ SOURCES=(
# Note that the protos listed here are all for testing purposes. All protos to
# be used externally should have a go_package option (and they don't need to be
# listed here).
# listed here).
OPTS=Mgrpc/core/stats.proto=google.golang.org/grpc/interop/grpc_testing/core,\
Mgrpc/testing/benchmark_service.proto=google.golang.org/grpc/interop/grpc_testing,\
Mgrpc/testing/stats.proto=google.golang.org/grpc/interop/grpc_testing,\
Expand Down

0 comments on commit 6a7183c

Please sign in to comment.