In epocroot handling make windows the exceptional case because it is, use os.sep.
--- a/sbsv2/raptor/python/raptor.py Mon Jan 18 17:03:32 2010 +0000
+++ b/sbsv2/raptor/python/raptor.py Mon Jan 18 17:04:24 2010 +0000
@@ -61,14 +61,14 @@
incoming_epocroot = os.environ["EPOCROOT"]
epocroot = incoming_epocroot.replace("\\","/")
else:
- if 'linux' in hostplatform:
+ if 'win' in hostplatform:
+ incoming_epocroot = os.sep
+ epocroot = "/"
+ os.environ["EPOCROOT"] = os.sep
+ else:
epocroot=os.environ['HOME'] + os.sep + "epocroot"
os.environ["EPOCROOT"] = epocroot
incoming_epocroot = epocroot
- else:
- incoming_epocroot = "\\"
- epocroot = "/"
- os.environ["EPOCROOT"] = os.sep
if "SBS_BUILD_DIR" in os.environ:
sbs_build_dir = os.environ["SBS_BUILD_DIR"]