# HG changeset patch # User wpaul # Date 1238611855 18000 # Node ID 95d8c60d963a518cb59f4040279485763945740f # Parent 41baad04b9d68fc798c11aea50f6eb062c82e70a fixed bug #8694 diff -r 41baad04b9d6 -r 95d8c60d963a builder/com.nokia.carbide.cdt.builder/src/com/nokia/carbide/cdt/internal/builder/EnvironmentVarsInfo2.java --- a/builder/com.nokia.carbide.cdt.builder/src/com/nokia/carbide/cdt/internal/builder/EnvironmentVarsInfo2.java Fri Mar 27 10:48:47 2009 -0500 +++ b/builder/com.nokia.carbide.cdt.builder/src/com/nokia/carbide/cdt/internal/builder/EnvironmentVarsInfo2.java Wed Apr 01 13:50:55 2009 -0500 @@ -300,7 +300,10 @@ if (System.getenv(EPOCROOT) == null) { String epocRootStr = epocRoot.toOSString(); if (epocRootStr.indexOf(":") == 1) { - epocRootStr = epocRootStr.substring(2); + // only strip the drive for SBSv1 + if (!CarbideBuilderPlugin.getBuildManager().isCarbideSBSv2Project(projectTracker.getProject())) { + epocRootStr = epocRootStr.substring(2); + } } returnEnvArray = addToArray(returnEnvArray, EPOCROOT + EQUALS + epocRootStr);