mirror of
https://github.com/rust-lang/rust.git
synced 2026-04-26 13:01:27 +03:00
Ensure ./configure works when configure.py path contains spaces
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
script="$(dirname $0)"/src/bootstrap/configure.py
|
script="$(dirname "$0")"/src/bootstrap/configure.py
|
||||||
|
|
||||||
try() {
|
try() {
|
||||||
cmd=$1
|
cmd=$1
|
||||||
@@ -15,4 +15,4 @@ try python3 "$@"
|
|||||||
try python2.7 "$@"
|
try python2.7 "$@"
|
||||||
try python27 "$@"
|
try python27 "$@"
|
||||||
try python2 "$@"
|
try python2 "$@"
|
||||||
exec python $script "$@"
|
exec python "$script" "$@"
|
||||||
|
|||||||
Reference in New Issue
Block a user