diff options
author | Holger Zickner <[email protected]> | 2004-09-21 10:46:08 +0000 |
---|---|---|
committer | Holger Zickner <[email protected]> | 2004-09-21 10:46:08 +0000 |
commit | 06201eb3d8ff68932c47877b666f801c55cb7258 (patch) | |
tree | 75c53a25b568245b1e2f5429a943468920df4dc0 /src/jake2/qcommon/FS.java | |
parent | ccb2d4d12dbcc113507dc600d54540eb757ce80a (diff) |
FTP installer
Diffstat (limited to 'src/jake2/qcommon/FS.java')
-rw-r--r-- | src/jake2/qcommon/FS.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/jake2/qcommon/FS.java b/src/jake2/qcommon/FS.java index acbdade..66b8a80 100644 --- a/src/jake2/qcommon/FS.java +++ b/src/jake2/qcommon/FS.java @@ -2,7 +2,7 @@ * FS.java * Copyright (C) 2003 * - * $Id: FS.java,v 1.6 2004-09-20 20:26:40 cawe Exp $ + * $Id: FS.java,v 1.7 2004-09-21 10:46:07 hzi Exp $ */ /* Copyright (C) 1997-2001 Id Software, Inc. @@ -116,8 +116,8 @@ public final class FS extends Globals { // -1 if not found and 0 means write to root if (index > 0) { File f = new File(path.substring(0, index)); - if (!f.mkdirs()) { - //Com.Printf("can't create path \"" + path + '"' + "\n" ); + if (!f.mkdirs() && !f.isDirectory()) { + Com.Printf("can't create path \"" + path + '"' + "\n" ); } } } |