diff options
author | Steven Knight <knight@baldmt.com> | 2002-08-12 17:53:04 (GMT) |
---|---|---|
committer | Steven Knight <knight@baldmt.com> | 2002-08-12 17:53:04 (GMT) |
commit | 4b97c6ca164273b220c1b1f5fdfa18b8ba28b0ca (patch) | |
tree | 10d6ce617ee40268dd95040b67886a68ae8055fc /etc | |
parent | 1276260fda5a332d8433a6caa2dfa31871ac50d5 (diff) | |
download | SCons-4b97c6ca164273b220c1b1f5fdfa18b8ba28b0ca.zip SCons-4b97c6ca164273b220c1b1f5fdfa18b8ba28b0ca.tar.gz SCons-4b97c6ca164273b220c1b1f5fdfa18b8ba28b0ca.tar.bz2 |
Redo the uppercasing of drives on win32 fix. (Anthony Roach)
Diffstat (limited to 'etc')
-rw-r--r-- | etc/TestCmd.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/etc/TestCmd.py b/etc/TestCmd.py index 17d520b..2718494 100644 --- a/etc/TestCmd.py +++ b/etc/TestCmd.py @@ -610,6 +610,11 @@ class TestCmd: cwd = os.getcwd() os.chdir(path) self.workdir = os.getcwd() + # Uppercase the drive letter since the case of drive + # letters is pretty much random on win32: + drive,rest = os.path.splitdrive(self.workdir) + if drive: + self.workdir = string.upper(drive) + rest os.chdir(cwd) else: self.workdir = None |