1.1 --- a/cnd.remote/src/org/netbeans/modules/cnd/remote/mapper/RemotePathMap.java Wed Jul 20 17:02:42 2011 +0400
1.2 +++ b/cnd.remote/src/org/netbeans/modules/cnd/remote/mapper/RemotePathMap.java Wed Jul 27 12:20:19 2011 +0400
1.3 @@ -213,8 +213,8 @@
1.4 if (urpath.startsWith(value)) {
1.5 String mpoint = entry.getKey();
1.6 String rest = (value.length() > rpath.length()) ? "" : rpath.substring(value.length()); //NOI18N
1.7 - if (!mpoint.endsWith(File.separator)) {
1.8 - mpoint += File.separator;
1.9 + if (mpoint.length() > 0 && !mpoint.endsWith("/")) { //NOI18N
1.10 + mpoint += '/';
1.11 }
1.12 return mpoint + rest;
1.13 }