scons: fix behavior of scons --clean install

This commit is contained in:
Dane Springmeyer 2013-02-27 10:37:27 -05:00
parent 00c2ff999d
commit f232d026c3

View file

@ -456,7 +456,7 @@ HELP_REQUESTED = False
if ('-h' in command_line_args) or ('--help' in command_line_args): if ('-h' in command_line_args) or ('--help' in command_line_args):
HELP_REQUESTED = True 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 HELP_REQUESTED = True
if 'configure' in command_line_args and not HELP_REQUESTED: if 'configure' in command_line_args and not HELP_REQUESTED: