public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in games-strategy/freecol/files: freecol-0.7.4-home.patch
@ 2008-06-16 20:48 Tristan Heaven (nyhm)
  0 siblings, 0 replies; 2+ messages in thread
From: Tristan Heaven (nyhm) @ 2008-06-16 20:48 UTC (permalink / raw
  To: gentoo-commits

nyhm        08/06/16 20:48:24

  Added:                freecol-0.7.4-home.patch
  Log:
  Version bump
  (Portage version: 2.2_pre8/cvs/Linux 2.6.25.6 x86_64)

Revision  Changes    Path
1.1                  games-strategy/freecol/files/freecol-0.7.4-home.patch

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-strategy/freecol/files/freecol-0.7.4-home.patch?rev=1.1&view=markup
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

Index: freecol-0.7.4-home.patch
===================================================================
--- src/net/sf/freecol/common/logging/DefaultHandler.java
+++ src/net/sf/freecol/common/logging/DefaultHandler.java
@@ -22,7 +22,7 @@
 
     public static final String REVISION = "$Revision: 1.1 $";
 
-    private static final String fileName = new String("FreeCol.log");
+    private static final String fileName = new String(System.getProperty("user.home") + "/.freecol/FreeCol.log");
 
     private FileWriter fileWriter;
 
--- src/net/sf/freecol/FreeCol.java
+++ src/net/sf/freecol/FreeCol.java
@@ -314,7 +314,7 @@
     private static void createAndSetDirectories() {
         // TODO: The location of the save directory should be determined by the installer.;
         
-        File mainUserDirectory = new File(System.getProperty("user.home"), "freecol");
+        File mainUserDirectory = new File(System.getProperty("user.home"), ".freecol");
         if (mainUserDirectory.exists() && mainUserDirectory.isFile()) {
             logger.warning("Could not create .freecol under "
                     + System.getProperty("user.home") + " because there "



-- 
gentoo-commits@lists.gentoo.org mailing list



^ permalink raw reply	[flat|nested] 2+ messages in thread

* [gentoo-commits] gentoo-x86 commit in games-strategy/freecol/files: freecol-0.7.4-home.patch
@ 2009-07-11  5:43 Michael Sterrett (mr_bones_)
  0 siblings, 0 replies; 2+ messages in thread
From: Michael Sterrett (mr_bones_) @ 2009-07-11  5:43 UTC (permalink / raw
  To: gentoo-commits

mr_bones_    09/07/11 05:43:14

  Removed:              freecol-0.7.4-home.patch
  Log:
  old
  (Portage version: 2.1.6.13/cvs/Linux i686)



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-07-11  5:43 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-06-16 20:48 [gentoo-commits] gentoo-x86 commit in games-strategy/freecol/files: freecol-0.7.4-home.patch Tristan Heaven (nyhm)
  -- strict thread matches above, loose matches on Subject: below --
2009-07-11  5:43 Michael Sterrett (mr_bones_)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox