commit | f4c2419d006408f4c40a1662c46cc5e5abe9f42d | [log] [tgz] |
---|---|---|
author | fabbott@google.com <fabbott@google.com@8db76d5a-ed1c-0410-87a9-c151d255dfc7> | Tue Jan 20 20:56:29 2009 +0000 |
committer | fabbott@google.com <fabbott@google.com@8db76d5a-ed1c-0410-87a9-c151d255dfc7> | Tue Jan 20 20:56:29 2009 +0000 |
tree | c5e64dc8fdd80502b0892ae39170b8818bccb4a6 | |
parent | f0e178cd94f6e6cdc15e89550bfb0bdae4da66ac [diff] |
Fix Utility.java to use better unique temporaries, not under gwt-tmp (which can have permission issues). Review by: scottb git-svn-id: https://google-web-toolkit.googlecode.com/svn/releases/1.6@4498 8db76d5a-ed1c-0410-87a9-c151d255dfc7
diff --git a/dev/core/src/com/google/gwt/util/tools/Utility.java b/dev/core/src/com/google/gwt/util/tools/Utility.java index 0f9957f..a41dbe8 100644 --- a/dev/core/src/com/google/gwt/util/tools/Utility.java +++ b/dev/core/src/com/google/gwt/util/tools/Utility.java
@@ -239,7 +239,7 @@ public static File makeTemporaryDirectory(File baseDir, String prefix) throws IOException { if (baseDir == null) { - baseDir = new File(System.getProperty("java.io.tmpdir"), GWT_TMP_DIR); + baseDir = new File(System.getProperty("java.io.tmpdir")); } baseDir.mkdirs();