mirror of
https://github.com/boostorg/build.git
synced 2026-02-20 02:32:13 +00:00
Fix get_invocation_command_nodefault().
It was possible for command to be None. Thus, calling ' '.join(None) directly would error out.
This commit is contained in:
@@ -314,9 +314,8 @@ def get_invocation_command_nodefault(
|
||||
#FIXME
|
||||
#ECHO "warning: initialized from" [ errors.nearest-user-location ]
|
||||
command = []
|
||||
command = ' '.join(command)
|
||||
|
||||
assert(isinstance(command, str))
|
||||
if command:
|
||||
command = ' '.join(command)
|
||||
|
||||
return command
|
||||
|
||||
|
||||
Reference in New Issue
Block a user