Skip to content

Commit

Permalink
Abort configure if source path contains spaces, closes rust-lang#18477
Browse files Browse the repository at this point in the history
  • Loading branch information
fhahn committed Nov 16, 2015
1 parent 02d9f29 commit 9612c9a
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions configure
Original file line number Diff line number Diff line change
Expand Up @@ -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" ]
Expand Down

0 comments on commit 9612c9a

Please sign in to comment.