about summary refs log tree commit diff
path: root/configure
diff options
context:
space:
mode:
authorbeetrees <b@beetr.ee>2024-02-16 18:51:22 +0000
committerbeetrees <b@beetr.ee>2024-02-16 18:57:22 +0000
commitd855ca044da4ed42eb60dbd20cc1341f35d8e0fc (patch)
tree7f0d77798aa04157c521a111b6a4ccc1b2e8e498 /configure
parentae9d7b0c6434b27e4e2effe8f05b16d37e7ef33f (diff)
downloadrust-d855ca044da4ed42eb60dbd20cc1341f35d8e0fc.tar.gz
rust-d855ca044da4ed42eb60dbd20cc1341f35d8e0fc.zip
Ensure `./configure` works when `configure.py` path contains spaces
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure4
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" "$@"