diff options
author | Steven Knight <knight@baldmt.com> | 2002-08-05 03:41:27 (GMT) |
---|---|---|
committer | Steven Knight <knight@baldmt.com> | 2002-08-05 03:41:27 (GMT) |
commit | 711e5cdfe154688814d7f493cc2c832c79fd1014 (patch) | |
tree | 7ebb5f7d1e1924d165ca6573f988c9930e62a92d /src | |
parent | 8467314faf70040103f4110a9b67b4c4ed6659d3 (diff) | |
download | SCons-711e5cdfe154688814d7f493cc2c832c79fd1014.zip SCons-711e5cdfe154688814d7f493cc2c832c79fd1014.tar.gz SCons-711e5cdfe154688814d7f493cc2c832c79fd1014.tar.bz2 |
Make -U be case insensitive on Win32 (Bug 589292) (Anthony Roach)
Diffstat (limited to 'src')
-rw-r--r-- | src/CHANGES.txt | 14 | ||||
-rw-r--r-- | src/engine/SCons/Script/__init__.py | 6 |
2 files changed, 18 insertions, 2 deletions
diff --git a/src/CHANGES.txt b/src/CHANGES.txt index d2fe1a0..30f8eb9 100644 --- a/src/CHANGES.txt +++ b/src/CHANGES.txt @@ -8,6 +8,20 @@ +RELEASE 0.09 - + + From Anthony Roach: + + - Fixed use of command lines with spaces in their arguments, + and use of Nodes with spaces in their string representation. + + - Make access and modification times of files in a BuildDir match + the source file, even when hard linking isn't available. + + - Make -U be case insensitive on Win32 systems. + + + RELEASE 0.08 - Mon, 15 Jul 2002 12:08:51 -0500 From Charles Crain: diff --git a/src/engine/SCons/Script/__init__.py b/src/engine/SCons/Script/__init__.py index 17a1256..a00c734 100644 --- a/src/engine/SCons/Script/__init__.py +++ b/src/engine/SCons/Script/__init__.py @@ -969,8 +969,10 @@ def _main(): elif climb_up == 3 and not targets: # -U with default targets default_targets = SCons.Script.SConscript.default_targets - default_targets = filter(lambda x: x.cwd.srcpath == str(target_top), - default_targets) + def check_dir(x): + cwd = SCons.Node.FS.default_fs.Dir(x.cwd.srcpath) + return cwd == target_top + default_targets = filter(check_dir, default_targets) SCons.Script.SConscript.default_targets = default_targets target_top = None |