Make the default SystemRoot a Windows-like "C:\\WINDOWS" instead of
authorstevenknight <stevenknight@fdb21ef1-2011-0410-befe-b5e4ea1792b1>
Thu, 14 Jan 2010 18:30:34 +0000 (18:30 +0000)
committerstevenknight <stevenknight@fdb21ef1-2011-0410-befe-b5e4ea1792b1>
Thu, 14 Jan 2010 18:30:34 +0000 (18:30 +0000)
"C:/WINDOWS", mainly so the output generated in the "Troubleshooting"
appendix of the User's Guide looks coherent.

git-svn-id: http://scons.tigris.org/svn/scons/trunk@4617 fdb21ef1-2011-0410-befe-b5e4ea1792b1

src/engine/SCons/Platform/win32.py

index bcdc50ae39d8cb37525de3eebe233804abca80ae..a50a6ae1e6b9498fc6d2fb06d68bd570efc06d5b 100644 (file)
@@ -195,7 +195,7 @@ def get_system_root():
         return _system_root
 
     # A resonable default if we can't read the registry
-    val = os.environ.get('SystemRoot', "C:/WINDOWS")
+    val = os.environ.get('SystemRoot', "C:\\WINDOWS")
 
     if SCons.Util.can_read_reg:
         try: