summaryrefslogtreecommitdiffstats
path: root/battlestar/pathnames.h
diff options
context:
space:
mode:
authorCameron Katri <me@cameronkatri.com>2021-03-28 14:39:02 -0400
committerCameron Katri <me@cameronkatri.com>2021-03-28 14:39:02 -0400
commit23454acb66be2a88647262d98d50e0f115519ea0 (patch)
treec593751ce3649be2e502fac3e080d6c0045b9fa0 /battlestar/pathnames.h
parent08eca96e71d96ad1f8e9b888875ab5570f208d19 (diff)
downloadbsdgames-darwin-23454acb66be2a88647262d98d50e0f115519ea0.tar.gz
bsdgames-darwin-23454acb66be2a88647262d98d50e0f115519ea0.tar.zst
bsdgames-darwin-23454acb66be2a88647262d98d50e0f115519ea0.zip
Use PREFIX now
Diffstat (limited to 'battlestar/pathnames.h')
-rw-r--r--battlestar/pathnames.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/battlestar/pathnames.h b/battlestar/pathnames.h
index 0b2ed225..a099711a 100644
--- a/battlestar/pathnames.h
+++ b/battlestar/pathnames.h
@@ -31,4 +31,6 @@
* @(#)pathnames.h 8.1 (Berkeley) 5/31/93
*/
-#define _PATH_SCORE "/var/games/battlestar.log"
+#include "config.h"
+
+#define _PATH_SCORE LOCALSTATEDIR"/games/battlestar.log"