diff options
| author | beetrees <b@beetr.ee> | 2024-02-16 18:51:22 +0000 |
|---|---|---|
| committer | beetrees <b@beetr.ee> | 2024-02-16 18:57:22 +0000 |
| commit | d855ca044da4ed42eb60dbd20cc1341f35d8e0fc (patch) | |
| tree | 7f0d77798aa04157c521a111b6a4ccc1b2e8e498 /configure | |
| parent | ae9d7b0c6434b27e4e2effe8f05b16d37e7ef33f (diff) | |
| download | rust-d855ca044da4ed42eb60dbd20cc1341f35d8e0fc.tar.gz rust-d855ca044da4ed42eb60dbd20cc1341f35d8e0fc.zip | |
Ensure `./configure` works when `configure.py` path contains spaces
Diffstat (limited to 'configure')
| -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" "$@" |
