Skip to content

Quote docker cli path to support Windows paths with spaces#877

Merged
smukherj1 merged 1 commit intobazelbuild:masterfrom
greenhouse-org:quote-docker-tool-path
May 22, 2020
Merged

Quote docker cli path to support Windows paths with spaces#877
smukherj1 merged 1 commit intobazelbuild:masterfrom
greenhouse-org:quote-docker-tool-path

Conversation

@sunjayBhatia
Copy link
Contributor

Otherwise if Docker is in "Program Files" or another directory with spaces, bash fails to execute it with an error: ./run_and_extract.sh: line 35: C:/Program: No such file or directory

Co-authored-by: William A Rowe Jr <wrowe@pivotal.io>
@sunjayBhatia
Copy link
Contributor Author

cc @wrowe

Copy link
Collaborator

@smukherj1 smukherj1 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

😂

@smukherj1
Copy link
Collaborator

/gcbrun

@sunjayBhatia
Copy link
Contributor Author

😂

that is 100% my feeling, at the last step we run into this in CI b/c docker is installed in Program Files

@smukherj1 smukherj1 merged commit 834b89b into bazelbuild:master May 22, 2020
@sunjayBhatia sunjayBhatia deleted the quote-docker-tool-path branch May 22, 2020 01:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants