Bug 57062 - Fix savedGames in triplea-0.4.8
|
Bug#:
57062
|
Product: Gentoo Linux
|
Version: unspecified
|
Platform: All
|
|
OS/Version: Linux
|
Status: RESOLVED
|
Severity: normal
|
Priority: P2
|
|
Resolution: FIXED
|
Assigned To: games@gentoo.org
|
Reported By: wjmcqueen@gmail.com
|
|
Component: Games
|
|
|
URL:
|
|
Summary: Fix savedGames in triplea-0.4.8
|
|
Keywords:
|
|
Status Whiteboard:
|
|
Opened: 2004-07-14 11:51 0000
|
I'm creating a new bug to get this patch in place. This will direct triplea to
default saved games to ~/.triplea/savedGames instead of the install directory.
Reproducible: Always
Steps to Reproduce:
1.
2.
3.
(From update of attachment 35408 [details])
--- /usr/portage/games-strategy/triplea/triplea-0.4.8.ebuild 2004-07-01
00:32:35.310282090 -0400
+++ /usr/local/portage/games-strategy/triplea/triplea-0.4.8-r1.ebuild
2004-07-08 01:27:43.000000000 -0400
@@ -42,12 +42,6 @@
games.strategy.engine.framework.GameRunner
EOF
+ # The default savedGames directory is in the install root. This
+ # sets it to use the users home directory.
+ cat >"data/triplea.properties"<<-EOF
+ triplea.saveGamesInHomeDir=true
+ EOF
+
# Repair bad path in .ant.properties (bug #47437)
sed -i \
-e "/^junit.jar/s:=.*:=/usr/share/junit/lib/junit.jar:" \
Added to CVS. Thanks for the patch and bug report.