Skip to content

Commit 59b050d

Browse files
committed
Use disk cache directory for decompression
1 parent 540eb89 commit 59b050d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

cdm/core/src/main/java/ucar/nc2/NetcdfFiles.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -379,7 +379,7 @@ private static ucar.unidata.io.RandomAccessFile downloadAndDecompress(ucar.unida
379379
if (pos < 0)
380380
pos = uriString.lastIndexOf(':');
381381

382-
String tmp = System.getProperty("java.io.tmpdir");
382+
String tmp = DiskCache.getRootDirectory();
383383
String filename = uriString.substring(pos + 1);
384384
String sep = File.separator;
385385

0 commit comments

Comments
 (0)