lol
1diff --git a/ccp4/csymlib.c b/ccp4/csymlib.c
2index 76bc70b..3616121 100644
3--- a/ccp4/csymlib.c
4+++ b/ccp4/csymlib.c
5@@ -136,25 +136,7 @@ CCP4SPG *ccp4spg_load_spacegroup(const int numspg, const int ccp4numspg,
6 }
7 }
8
9- /* Open the symop file: */
10- if (!(symopfile = getenv("SYMINFO"))) {
11- if (debug)
12- printf("Environment variable SYMINFO not set ... guessing location of symmetry file. \n");
13- if (!(ccp4dir = getenv("CLIBD"))) {
14- printf("Environment variable CLIBD not set ... big trouble! \n");
15- return NULL;
16- }
17-
18- symopfile = ccp4_utils_malloc((strlen(ccp4dir)+22)*sizeof(char));
19- strcpy(symopfile,ccp4_utils_joinfilenames(ccp4dir,"syminfo.lib"));
20- symopfile[strlen(ccp4dir)+21] = '\0';
21- ccp4printf(1," SYMINFO file set to %s \n",symopfile);
22- } else {
23- if (debug) {
24- ccp4printf(1,"\n Spacegroup information obtained from library file: \n");
25- ccp4printf(1," Logical Name: SYMINFO Filename: %s\n\n",symopfile);
26- }
27- }
28+ symopfile = NIX_PROVIDED_SYMOP_FILE;
29
30 filein = fopen(symopfile,"r");
31 if (!filein) {
32@@ -162,8 +144,6 @@ CCP4SPG *ccp4spg_load_spacegroup(const int numspg, const int ccp4numspg,
33 return NULL;
34 }
35
36- if (!(getenv("SYMINFO"))) free(symopfile);
37-
38 parser = ccp4_parse_start(20);
39 if (parser == NULL)
40 ccp4_signal(CSYM_ERRNO(CSYMERR_ParserFail),"ccp4spg_load_spacegroup",NULL);