1 |
nyhm 08/06/16 20:48:24 |
2 |
|
3 |
Added: freecol-0.7.4-home.patch |
4 |
Log: |
5 |
Version bump |
6 |
(Portage version: 2.2_pre8/cvs/Linux 2.6.25.6 x86_64) |
7 |
|
8 |
Revision Changes Path |
9 |
1.1 games-strategy/freecol/files/freecol-0.7.4-home.patch |
10 |
|
11 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-strategy/freecol/files/freecol-0.7.4-home.patch?rev=1.1&view=markup |
12 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-strategy/freecol/files/freecol-0.7.4-home.patch?rev=1.1&content-type=text/plain |
13 |
|
14 |
Index: freecol-0.7.4-home.patch |
15 |
=================================================================== |
16 |
--- src/net/sf/freecol/common/logging/DefaultHandler.java |
17 |
+++ src/net/sf/freecol/common/logging/DefaultHandler.java |
18 |
@@ -22,7 +22,7 @@ |
19 |
|
20 |
public static final String REVISION = "$Revision: 1.1 $"; |
21 |
|
22 |
- private static final String fileName = new String("FreeCol.log"); |
23 |
+ private static final String fileName = new String(System.getProperty("user.home") + "/.freecol/FreeCol.log"); |
24 |
|
25 |
private FileWriter fileWriter; |
26 |
|
27 |
--- src/net/sf/freecol/FreeCol.java |
28 |
+++ src/net/sf/freecol/FreeCol.java |
29 |
@@ -314,7 +314,7 @@ |
30 |
private static void createAndSetDirectories() { |
31 |
// TODO: The location of the save directory should be determined by the installer.; |
32 |
|
33 |
- File mainUserDirectory = new File(System.getProperty("user.home"), "freecol"); |
34 |
+ File mainUserDirectory = new File(System.getProperty("user.home"), ".freecol"); |
35 |
if (mainUserDirectory.exists() && mainUserDirectory.isFile()) { |
36 |
logger.warning("Could not create .freecol under " |
37 |
+ System.getProperty("user.home") + " because there " |
38 |
|
39 |
|
40 |
|
41 |
-- |
42 |
gentoo-commits@l.g.o mailing list |