Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

gRPC protoc script pushd not found #982

Merged
merged 1 commit into from Mar 25, 2020

Conversation

Scottmitch
Copy link
Member

Motivation:
The gRPC protoc unix script is expected to execute in a /bin/sh environment, but it depends upon pushd/popd which may not be available in /bin/sh. This may lead to a 'pushd: not found' error.

Modifications:

  • Avoid using pushd in the unix script and manually save/restore the directory

Result:
gRPC protoc script can execute in limited /bin/sh environments without
failure.

Motivation:
The gRPC protoc unix script is expected to execute in a /bin/sh environment, but it depends upon pushd/popd which may not be available in /bin/sh. This may lead to a 'pushd: not found' error.

Modifications:
- Avoid using pushd in the unix script and manually save/restore the directory

Result:
gRPC protoc script can execute in limited /bin/sh environments without
failure.
@Scottmitch Scottmitch merged commit 8084127 into apple:master Mar 25, 2020
@Scottmitch Scottmitch deleted the grpc_protoc_script branch March 25, 2020 16:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants