summaryrefslogtreecommitdiff
path: root/math/gretl/files/patch-lib::src::gretl_paths.c
blob: 12770b080297b40f994d2b8476cad4fd0d31a96f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
--- lib/src/gretl_paths.c.orig	Wed Feb 11 06:14:36 2004
+++ lib/src/gretl_paths.c	Sun Feb 29 18:10:53 2004
@@ -432,8 +432,8 @@
 	if (home != NULL) {
 	    strcpy(ppaths->gretldir, home);
 	} else {
-	    strcpy(ppaths->gretldir, GRETL_PREFIX);
-	    strcat(ppaths->gretldir, "/share/gretl/");
+	    strcpy(ppaths->gretldir, DATADIR);
+	    strcat(ppaths->gretldir, "/gretl/");
 	} 
 
 	sprintf(ppaths->binbase, "%sdb/", ppaths->gretldir);