Skip to content

Commit

Permalink
Ensure ./configure works when configure.py path contains spaces
Browse files Browse the repository at this point in the history
  • Loading branch information
beetrees committed Feb 16, 2024
1 parent ae9d7b0 commit d855ca0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions configure
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/sh

script="$(dirname $0)"/src/bootstrap/configure.py
script="$(dirname "$0")"/src/bootstrap/configure.py

try() {
cmd=$1
Expand All @@ -15,4 +15,4 @@ try python3 "$@"
try python2.7 "$@"
try python27 "$@"
try python2 "$@"
exec python $script "$@"
exec python "$script" "$@"

0 comments on commit d855ca0

Please sign in to comment.