From 23454acb66be2a88647262d98d50e0f115519ea0 Mon Sep 17 00:00:00 2001 From: Cameron Katri Date: Sun, 28 Mar 2021 14:39:02 -0400 Subject: Use PREFIX now --- warp/warp.h | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'warp/warp.h') diff --git a/warp/warp.h b/warp/warp.h index 24abfdc3..4dabe7be 100644 --- a/warp/warp.h +++ b/warp/warp.h @@ -15,7 +15,8 @@ #ifndef WARP_H #define WARP_H -#include "config.h" /* generated by Configure script */ +#include "config.h" +#include "warp-config.h" /* generated by Configure script */ #include #include @@ -43,7 +44,7 @@ * access.) */ -#define SAVEDIR "/var/games/warp" +#define SAVEDIR LOCALSTATEDIR"/games/warp" #define NEWSFILE "warp.news" #define HELPFILE "warp.doc" #define LOCKFILE ".warp.lock" @@ -59,7 +60,7 @@ # ifdef PRIVLIB # define WARPLIB PRIVLIB # else -# define WARPLIB "/usr/games/warp" +# define WARPLIB PREFIX"/games/warp" # endif #endif @@ -267,7 +268,7 @@ EXT char amb[YSIZE][XSIZE]; /* preferred shell for use in doshell routine */ /* ksh or sh would be okay here */ #ifndef PREFSHELL -# define PREFSHELL "/bin/csh" +# define PREFSHELL "/bin/sh" #endif /* path to fastest starting shell */ -- cgit v1.2.3-56-ge451