mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-25 08:13:41 +00:00
Abort configure if source path contains spaces, closes #18477
This commit is contained in:
parent
02d9f29455
commit
9612c9ab20
10
configure
vendored
10
configure
vendored
@ -541,6 +541,16 @@ CFG_BUILD_DIR="$(pwd)/"
|
|||||||
CFG_SELF="$0"
|
CFG_SELF="$0"
|
||||||
CFG_CONFIGURE_ARGS="$@"
|
CFG_CONFIGURE_ARGS="$@"
|
||||||
|
|
||||||
|
|
||||||
|
case "${CFG_SRC_DIR}" in
|
||||||
|
*\ * )
|
||||||
|
err "The path to the rust source directory contains spaces, which is not supported"
|
||||||
|
;;
|
||||||
|
*)
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
|
||||||
|
|
||||||
OPTIONS=""
|
OPTIONS=""
|
||||||
HELP=0
|
HELP=0
|
||||||
if [ "$1" = "--help" ]
|
if [ "$1" = "--help" ]
|
||||||
|
Loading…
Reference in New Issue
Block a user