Fix temporary file path

This commit is contained in:
Ilja Sidoroff
2016-08-23 11:36:16 +00:00
parent bbe9f23ef9
commit 2e7d5978d9

View File

@@ -184,7 +184,7 @@ public class CitationDocumentServiceImpl implements CitationDocumentService, Ini
}
//Ensure a temp directory is available
String tempDirString = configurationService.getProperty("dspace.dir") + File.pathSeparator + "temp";
String tempDirString = configurationService.getProperty("dspace.dir") + File.separator + "temp";
tempDir = new File(tempDirString);
if(!tempDir.exists()) {
boolean success = tempDir.mkdir();