1
0
mirror of https://github.com/postgres/postgres.git synced 2025-06-25 01:02:05 +03:00

Clean up some relative path install issues with Claudio's help.

This commit is contained in:
Bruce Momjian
2004-05-18 03:36:45 +00:00
parent 4307ca2a40
commit 3b382d1ae3
7 changed files with 19 additions and 16 deletions

View File

@ -6,7 +6,7 @@
* Portions Copyright (c) 1996-2003, PostgreSQL Global Development Group
*
* IDENTIFICATION
* $PostgreSQL: pgsql/src/timezone/pgtz.c,v 1.8 2004/05/17 14:35:34 momjian Exp $
* $PostgreSQL: pgsql/src/timezone/pgtz.c,v 1.9 2004/05/18 03:36:45 momjian Exp $
*
*-------------------------------------------------------------------------
*/
@ -17,15 +17,14 @@
static char tzdir[MAXPGPATH];
static int done_tzdir = 0;
char *
pg_TZDIR(void)
{
char *p;
if (done_tzdir)
return tzdir;
get_share_dir(my_exec_path, tzdir);
get_share_path(my_exec_path, tzdir);
strcat(tzdir, "/timezone");
done_tzdir = 1;