Auto merge of #29858 - fhahn:abort-if-path-has-spaces, r=brson

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.
This commit is contained in:
bors 2015-12-01 21:38:20 +00:00
commit 69b2fce7bb

10
configure vendored
View File

@ -541,6 +541,16 @@ CFG_BUILD_DIR="$(pwd)/"
CFG_SELF="$0"
CFG_CONFIGURE_ARGS="$@"
case "${CFG_SRC_DIR}" in
*\ * )
err "The path to the rust source directory contains spaces, which is not supported"
;;
*)
;;
esac
OPTIONS=""
HELP=0
if [ "$1" = "--help" ]