# HG changeset patch # User raptorbot # Date 1263834264 0 # Node ID 8184bb802ee1d5851217a867d13086b236172fca # Parent 2022a4abb126f1b0927fcc1b051db2001be4c0ac In epocroot handling make windows the exceptional case because it is, use os.sep. diff -r 2022a4abb126 -r 8184bb802ee1 sbsv2/raptor/python/raptor.py --- 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"]