From: | "Tristan Heaven (nyhm)" <nyhm@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in games-strategy/freecol/files: freecol-0.7.2-home.patch digest-freecol-0.7.2 |
Date: | Wed, 19 Sep 2007 22:49:36 |
Message-Id: | E1IY8Eo-0001kd-5L@stork.gentoo.org |
1 | nyhm 07/09/19 22:41:42 |
2 | |
3 | Added: freecol-0.7.2-home.patch digest-freecol-0.7.2 |
4 | Log: |
5 | Version bump |
6 | (Portage version: 2.1.3.9) |
7 | |
8 | Revision Changes Path |
9 | 1.1 games-strategy/freecol/files/freecol-0.7.2-home.patch |
10 | |
11 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-strategy/freecol/files/freecol-0.7.2-home.patch?rev=1.1&view=markup |
12 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-strategy/freecol/files/freecol-0.7.2-home.patch?rev=1.1&content-type=text/plain |
13 | |
14 | Index: freecol-0.7.2-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 | 1.1 games-strategy/freecol/files/digest-freecol-0.7.2 |
42 | |
43 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-strategy/freecol/files/digest-freecol-0.7.2?rev=1.1&view=markup |
44 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-strategy/freecol/files/digest-freecol-0.7.2?rev=1.1&content-type=text/plain |
45 | |
46 | Index: digest-freecol-0.7.2 |
47 | =================================================================== |
48 | MD5 254576cbfada1f20535e641feb2b38f0 freecol-0.7.2-src.tar.gz 20252220 |
49 | RMD160 cdf19af3d299e3e053652b530f4f1941ebe7b6fd freecol-0.7.2-src.tar.gz 20252220 |
50 | SHA256 16bb050f716fa889e4306c70f4a1ab10b9aabebbd3c80be15e24980cb97fe771 freecol-0.7.2-src.tar.gz 20252220 |
51 | |
52 | |
53 | |
54 | -- |
55 | gentoo-commits@g.o mailing list |