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

Don't normalize path passed to synctex

James Allen 12 лет назад
Родитель
Сommit
fe6c76e62d
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      services/clsi/app/coffee/CompileManager.coffee

+ 1 - 1
services/clsi/app/coffee/CompileManager.coffee

@@ -58,7 +58,7 @@ module.exports = CompileManager =
 		# might not match the file path on the host. The .synctex.gz file however, will be accessed
 		# wherever it is on the host.
 		base_dir = Settings.path.synctexBaseDir(project_id)
-		file_path = Path.join(base_dir, file_name)
+		file_path = base_dir + "/" + file_name
 		synctex_path = Path.join(Settings.path.compilesDir, project_id, "output.pdf")
 		CompileManager._runSynctex ["code", synctex_path, file_path, line, column], (error, stdout) ->
 			return callback(error) if error?