diff options
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 |