Skip to content

Commit d855ca0

Browse files
committed
Ensure ./configure works when configure.py path contains spaces
1 parent ae9d7b0 commit d855ca0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

configure

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/bin/sh
22

3-
script="$(dirname $0)"/src/bootstrap/configure.py
3+
script="$(dirname "$0")"/src/bootstrap/configure.py
44

55
try() {
66
cmd=$1
@@ -15,4 +15,4 @@ try python3 "$@"
1515
try python2.7 "$@"
1616
try python27 "$@"
1717
try python2 "$@"
18-
exec python $script "$@"
18+
exec python "$script" "$@"

0 commit comments

Comments
 (0)