summaryrefslogtreecommitdiff
path: root/math/gretl/files/patch-lib::src::gretl_utils.c
blob: b05b6e035e38e4a28987ff61db41845cd2e13b4e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
--- lib/src/gretl_utils.c.orig	Mon Sep 30 06:13:40 2002
+++ lib/src/gretl_utils.c	Mon Oct 21 08:31:52 2002
@@ -1373,8 +1373,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/");
 	} 
 	if (gui) {
 	    sprintf(ppaths->binbase, "%sdb/", ppaths->gretldir);