Abort configure if source path contains spaces, closes #18477

This commit is contained in:
Florian Hahn 2015-11-16 12:06:46 +01:00
parent 02d9f29455
commit 9612c9ab20
1 changed files with 10 additions and 0 deletions

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" ]