浏览代码

Merge pull request #35 from tastymorsel/master

Attempt to fix an issue where polybuild can't find the config file on MacOS
Ivan Safrin 14 年之前
父节点
当前提交
3bb0f5be08
共有 1 个文件被更改,包括 2 次插入0 次删除
  1. 2 0
      Tools/Contents/polybuild/Source/polybuild.cpp

+ 2 - 0
Tools/Contents/polybuild/Source/polybuild.cpp

@@ -220,9 +220,11 @@ int main(int argc, char **argv) {
 #endif
 	}
 
+#ifdef _WINDOWS
 	finalPath = finalPath.replace(":", "");
 	finalPath = finalPath.replace("\\", "/");
 	finalPath = finalPath.substr(1, finalPath.length() - 1);
+#endif
 
 	printf("Reading config file from %s\n", finalPath.c_str());