diff options
| author | Steven Knight <knight@baldmt.com> | 2002-08-22 04:24:47 (GMT) |
|---|---|---|
| committer | Steven Knight <knight@baldmt.com> | 2002-08-22 04:24:47 (GMT) |
| commit | 1e49c8ca34956b490c6e3e9a90b8322b983ebedf (patch) | |
| tree | 3128dd733afe9c6c3d3ffd07595a586a2624ce71 | |
| parent | 936f9896cc189747ace62a948d91324c7cec2b47 (diff) | |
| download | SCons-1e49c8ca34956b490c6e3e9a90b8322b983ebedf.zip SCons-1e49c8ca34956b490c6e3e9a90b8322b983ebedf.tar.gz SCons-1e49c8ca34956b490c6e3e9a90b8322b983ebedf.tar.bz2 | |
Yet again redo the uppercasing of drives on win32 fix. (Anthony Roach)
| -rw-r--r-- | src/engine/SCons/Node/FS.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/engine/SCons/Node/FS.py b/src/engine/SCons/Node/FS.py index 77e8c9e..5d01314 100644 --- a/src/engine/SCons/Node/FS.py +++ b/src/engine/SCons/Node/FS.py @@ -164,9 +164,9 @@ class FS: drive, path_first = os.path.splitdrive(path_comp[0]) if not path_first: # Absolute path - drive_path = _my_normcase(drive) + drive = _my_normcase(drive) try: - directory = self.Root[drive_path] + directory = self.Root[drive] except KeyError: if not create: raise UserError @@ -174,7 +174,7 @@ class FS: dir.path = dir.path + os.sep dir.abspath = dir.abspath + os.sep dir.srcpath = dir.srcpath + os.sep - self.Root[drive_path] = dir + self.Root[drive] = dir directory = dir path_comp = path_comp[1:] else: |
