summaryrefslogtreecommitdiffstats
path: root/test/sconsign
diff options
context:
space:
mode:
authorGary Oberbrunner <garyo@oberbrunner.com>2011-05-15 16:54:05 (GMT)
committerGary Oberbrunner <garyo@oberbrunner.com>2011-05-15 16:54:05 (GMT)
commita8bac736758f61bfbbdfecd2252ece8ff3d98760 (patch)
tree3cd9813e9935c794f9f63584cbfa08e465a9d7e8 /test/sconsign
parentbe4d85f186c0a3155d1f90b886ca720ee7efe43e (diff)
downloadSCons-a8bac736758f61bfbbdfecd2252ece8ff3d98760.zip
SCons-a8bac736758f61bfbbdfecd2252ece8ff3d98760.tar.gz
SCons-a8bac736758f61bfbbdfecd2252ece8ff3d98760.tar.bz2
Fix prev commit (test fix) for non-Windows OSes.
Diffstat (limited to 'test/sconsign')
-rw-r--r--test/sconsign/script/dblite.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/sconsign/script/dblite.py b/test/sconsign/script/dblite.py
index 1359dd5..289c78b 100644
--- a/test/sconsign/script/dblite.py
+++ b/test/sconsign/script/dblite.py
@@ -44,6 +44,8 @@ def escape_drive_case(s):
if re.match(r'^(.)[\\]?:', s):
drive=s[0]
return '['+drive.lower()+drive.upper()+']'+s[1:]
+ else:
+ return s
CC = escape_drive_case(re.escape(CC))
LINK = escape_drive_case(re.escape(LINK))