Abort configure if source path contains spaces, closes #18477
This commit is contained in:
parent
02d9f29455
commit
9612c9ab20
1 changed files with 10 additions and 0 deletions
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…
Add table
Add a link
Reference in a new issue