diff options
author | Steven Knight <knight@baldmt.com> | 2002-05-31 23:52:14 (GMT) |
---|---|---|
committer | Steven Knight <knight@baldmt.com> | 2002-05-31 23:52:14 (GMT) |
commit | 78d38667226c4e01ea8d3b1026b2d6db5492d75b (patch) | |
tree | 9185720a12ec97d6d360aad1e2d26cb6dae77b86 /src/engine | |
parent | b87d8ee0fbcb2e9cbc804e29021a1202112f63c7 (diff) | |
download | SCons-78d38667226c4e01ea8d3b1026b2d6db5492d75b.zip SCons-78d38667226c4e01ea8d3b1026b2d6db5492d75b.tar.gz SCons-78d38667226c4e01ea8d3b1026b2d6db5492d75b.tar.bz2 |
Windows NT portability.
Diffstat (limited to 'src/engine')
-rw-r--r-- | src/engine/SCons/Util.py | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/engine/SCons/Util.py b/src/engine/SCons/Util.py index c66b99c..d366d9a 100644 --- a/src/engine/SCons/Util.py +++ b/src/engine/SCons/Util.py @@ -56,10 +56,9 @@ def updrive(path): """ drive, rest = os.path.splitdrive(path) if drive: - return os.path.join(string.upper(drive),rest) - else: - return path - + path = string.upper(drive) + rest + return path + class PathList(UserList.UserList): """This class emulates the behavior of a list, but also implements the special "path dissection" attributes we can use to find |