Skip to content

Abort configure if source path contains spaces, #18477 #29858

New issue

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

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

Already on GitHub? # to your account

Merged
merged 1 commit into from
Dec 1, 2015

Conversation

fhahn
Copy link
Contributor

@fhahn fhahn commented Nov 16, 2015

The Rust build scripts do work if the source directory contains spaces. I tried to make it work with spaces. I managed to get the Rust's and LLVM's configure scripts to work with spaces in the path, but I could not figure out how to get the Rust makefiles working.

So for now, this PR updates Rust's configure to abort if the source path contains spaces. I also added a note about spaces in the source path to the README.

I think this should close #18477 for now.

@rust-highfive
Copy link
Contributor

r? @alexcrichton

(rust_highfive has picked a reviewer for you, use r? to override)

@fhahn fhahn force-pushed the abort-if-path-has-spaces branch 2 times, most recently from 64876b7 to 535d486 Compare November 16, 2015 11:12
@alexcrichton
Copy link
Member

r? @brson

@rust-highfive rust-highfive assigned brson and unassigned alexcrichton Nov 16, 2015
@alexcrichton
Copy link
Member

(I'm fine with this)

@fhahn fhahn force-pushed the abort-if-path-has-spaces branch from 535d486 to 9612c9a Compare November 16, 2015 22:57
@fhahn
Copy link
Contributor Author

fhahn commented Nov 23, 2015

@brson I've updated the PR and removed the note in the README. Is there anything else I should change?

@brson
Copy link
Contributor

brson commented Dec 1, 2015

@bors r+

@bors
Copy link
Collaborator

bors commented Dec 1, 2015

📌 Commit 9612c9a has been approved by brson

@bors
Copy link
Collaborator

bors commented Dec 1, 2015

⌛ Testing commit 9612c9a with merge 69b2fce...

bors added a commit that referenced this pull request Dec 1, 2015
The Rust build scripts do work if the source directory contains spaces. I tried to make it work with spaces. I managed to get the Rust's and LLVM's configure scripts to work with spaces in the path, but I could not figure out how to get the Rust makefiles working.

So for now, this PR updates Rust's `configure` to abort if the source path contains spaces. I also added a note about spaces in the source path to the README.

I think this should close #18477 for now.
@bors bors merged commit 9612c9a into rust-lang:master Dec 1, 2015
@fhahn fhahn deleted the abort-if-path-has-spaces branch December 2, 2015 10:48
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

building on Windows: chokes on paths with spaces
5 participants