diff options
| author | Guillaume Boisseau <Nadrieril@users.noreply.github.com> | 2024-02-17 11:23:09 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-02-17 11:23:09 +0100 |
| commit | e266a1230767cdbf1c1fd107e7caf0c67ab3e8c7 (patch) | |
| tree | 4bb2823fcd915a42bc7f10cef4d4f2b067e1ba36 | |
| parent | 936b666c4a10dd9218454f294903dc97cb5a3bf2 (diff) | |
| parent | d855ca044da4ed42eb60dbd20cc1341f35d8e0fc (diff) | |
| download | rust-e266a1230767cdbf1c1fd107e7caf0c67ab3e8c7.tar.gz rust-e266a1230767cdbf1c1fd107e7caf0c67ab3e8c7.zip | |
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.
| -rwxr-xr-x | configure | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/configure b/configure index 81e2001e4a5..e8627c9f0d5 100755 --- a/configure +++ b/configure @@ -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" "$@" |
