LWJGLInstaller: use constant instead of hardcoded filename

This commit is contained in:
Elias Naur 2006-07-11 19:33:05 +00:00
parent b69aed51c7
commit 253ee1bcf4
1 changed files with 1 additions and 1 deletions

View File

@ -268,7 +268,7 @@ public class LWJGLInstaller {
return (String) AccessController.doPrivileged(new PrivilegedExceptionAction() {
public Object run() throws Exception {
// create the temp directory
File tempDir = new File(user_temp_dir + File.separator + ".lwjglinstall" + File.separator + System.currentTimeMillis());
File tempDir = new File(user_temp_dir + File.separator + MASTER_INSTALL_DIR + File.separator + System.currentTimeMillis());
if(!tempDir.mkdirs()) {
throw new IOException("Failed to create directory: " + tempDir);
}