Rollup merge of #121197 - beetrees:configure-quotes, r=Nilstrieb
Ensure `./configure` works when `configure.py` path contains spaces Add quotes around paths that may contains spaces in `configure` to avoid the shell splitting the path into multiple arguments.
This commit is contained in:
commit
e266a12307
1 changed files with 2 additions and 2 deletions
4
configure
vendored
4
configure
vendored
|
@ -1,6 +1,6 @@
|
|||
#!/bin/sh
|
||||
|
||||
script="$(dirname $0)"/src/bootstrap/configure.py
|
||||
script="$(dirname "$0")"/src/bootstrap/configure.py
|
||||
|
||||
try() {
|
||||
cmd=$1
|
||||
|
@ -15,4 +15,4 @@ try python3 "$@"
|
|||
try python2.7 "$@"
|
||||
try python27 "$@"
|
||||
try python2 "$@"
|
||||
exec python $script "$@"
|
||||
exec python "$script" "$@"
|
||||
|
|
Loading…
Add table
Reference in a new issue