2
0
mirror of https://github.com/boostorg/build.git synced 2026-02-16 01:12:13 +00:00

Made Boost Build ignore any received empty command-line arguments that it previously interpreted as targets. This was causing Boost Build test failures (rule path.make-UNIX called with an empty parameter) on many non-Windows platforms where empty parameters are not automatically stripped by the OS or the used Python process call implementation.

[SVN r78902]
This commit is contained in:
Jurko Gospodnetić
2012-06-11 23:36:26 +00:00
parent 10bb185d92
commit a4bc299d04
2 changed files with 2 additions and 2 deletions

View File

@@ -153,7 +153,7 @@ rule from-command-line ( command-line * )
properties += [ convert-command-line-element $(e) :
$(feature-space) ] ;
}
else
else if $(e)
{
targets += $(e) ;
}

View File

@@ -114,7 +114,7 @@ def from_command_line(command_line):
# consists of implicit feature values.
if e.find("=") != -1 or looks_like_implicit_value(e.split("/")[0]):
properties += convert_command_line_element(e)
else:
else if e:
targets.append(e)
return [targets, properties]