scons: fix behavior of scons --clean install
This commit is contained in:
parent
00c2ff999d
commit
f232d026c3
1 changed files with 1 additions and 1 deletions
|
@ -456,7 +456,7 @@ HELP_REQUESTED = False
|
|||
if ('-h' in command_line_args) or ('--help' in command_line_args):
|
||||
HELP_REQUESTED = True
|
||||
|
||||
if ('-c' in command_line_args) or ('--clean' in command_line_args):
|
||||
if ('install' not in command_line_args) and ('-c' in command_line_args) or ('--clean' in command_line_args):
|
||||
HELP_REQUESTED = True
|
||||
|
||||
if 'configure' in command_line_args and not HELP_REQUESTED:
|
||||
|
|
Loading…
Reference in a new issue