mirror of
https://github.com/DSpace/DSpace.git
synced 2025-10-07 01:54:22 +00:00
Merge pull request #1501 from isido/citation-page-fix-temp-path
[DS-3299] Fix temporary file path
This commit is contained in:
@@ -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();
|
||||
|
Reference in New Issue
Block a user