version 1.27 | | version 1.28 |
---|
| | |
/* | | /* |
* static char *rcsid_init_c = | | * static char *rcsid_init_c = |
* "$Id: init.c,v 1.27 2002/11/13 05:49:03 garbled Exp $"; | | * "$Id: init.c,v 1.28 2002/11/26 08:08:00 garbled Exp $"; |
*/ | | */ |
| | |
/* | | /* |
| | |
void init_environ() { | | void init_environ() { |
char *cp; | | char *cp; |
| | |
#ifndef SECURE | | |
cp=getenv("CROSSFIRE_LIBDIR"); | | cp=getenv("CROSSFIRE_LIBDIR"); |
if (cp) settings.datadir=cp; | | if (cp) settings.datadir=cp; |
cp=getenv("CROSSFIRE_LOCALDIR"); | | cp=getenv("CROSSFIRE_LOCALDIR"); |
| | |
if (cp) settings.uniquedir=cp; | | if (cp) settings.uniquedir=cp; |
cp=getenv("CROSSFIRE_TMPDIR"); | | cp=getenv("CROSSFIRE_TMPDIR"); |
if (cp) settings.tmpdir=cp; | | if (cp) settings.tmpdir=cp; |
#endif | | |
} | | } |
| | |
| | |