Skip to content

Commit

Permalink
configure: Windows can have spaces in directories.
Browse files Browse the repository at this point in the history
Running ./configure and testing for python through PATH
gives out a bunch of errors because of the extra arguments.

Signed-off-by: Gurucharan Shetty <[email protected]>
Acked-by: Ben Pfaff <[email protected]>
  • Loading branch information
shettyg committed Nov 18, 2013
1 parent db6964b commit 4a6ba43
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion m4/openvswitch.m4
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@ AC_DEFUN([OVS_CHECK_PYTHON],
for dir in $PATH; do
IFS=$ovs_save_IFS
test -z "$dir" && dir=.
if test -x $dir/$binary && $dir/$binary -c 'import sys
if test -x "$dir"/"$binary" && "$dir"/"$binary" -c 'import sys
if sys.hexversion >= 0x02040000 and sys.hexversion < 0x03000000:
sys.exit(0)
else:
Expand Down

0 comments on commit 4a6ba43

Please sign in to comment.