Просмотр исходного кода

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 лет назад
Родитель
Сommit
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());