summaryrefslogtreecommitdiffstats
path: root/src/engine/SCons/Util.py
diff options
context:
space:
mode:
authorSteven Knight <knight@baldmt.com>2002-05-31 23:52:14 (GMT)
committerSteven Knight <knight@baldmt.com>2002-05-31 23:52:14 (GMT)
commit78d38667226c4e01ea8d3b1026b2d6db5492d75b (patch)
tree9185720a12ec97d6d360aad1e2d26cb6dae77b86 /src/engine/SCons/Util.py
parentb87d8ee0fbcb2e9cbc804e29021a1202112f63c7 (diff)
downloadSCons-78d38667226c4e01ea8d3b1026b2d6db5492d75b.zip
SCons-78d38667226c4e01ea8d3b1026b2d6db5492d75b.tar.gz
SCons-78d38667226c4e01ea8d3b1026b2d6db5492d75b.tar.bz2
Windows NT portability.
Diffstat (limited to 'src/engine/SCons/Util.py')
-rw-r--r--src/engine/SCons/Util.py7
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