Changeset 378

Show
Ignore:
Timestamp:
11/02/06 09:56:04 (2 years ago)
Author:
dshipton
Message:

Don't re-save options file if we explicitly loaded it with options_file=

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/SConstruct

    r369 r378  
    317317if not SConsAddons.Util.hasHelpFlag(): 
    318318   try:                                   # Try to save the options if possible 
    319       opts.Save(option_filename, common_env) 
     319      if not ARGUMENTS.has_key("options_file"): 
     320         opts.Save(option_filename, common_env) 
    320321   except LookupError, le: 
    321322      pass