diff --git a/src/backend/utils/misc/postgresql.conf.sample b/src/backend/utils/misc/postgresql.conf.sample index 88272d35b56..0e88d4c5ed0 100644 --- a/src/backend/utils/misc/postgresql.conf.sample +++ b/src/backend/utils/misc/postgresql.conf.sample @@ -31,6 +31,7 @@ # The default values of these variables are driven from the -D command line # switch or PGDATA environment variable, represented here as ConfigDir. + # data_directory = 'ConfigDir' # use data in another directory # hba_file = 'ConfigDir/pg_hba.conf' # the host-based authentication file # ident_file = 'ConfigDir/pg_ident.conf' # the IDENT configuration file diff --git a/src/tools/make_mkid b/src/tools/make_mkid index ac71bd92b5b..13a848a7ee3 100755 --- a/src/tools/make_mkid +++ b/src/tools/make_mkid @@ -1,9 +1,10 @@ -#!/bin/sh +: mkid `find \`pwd\`/ \( -name _deadcode -a -prune \) -o \ -type f -name '*.[chyl]' -print|sed 's;//;/;g'` -find . -name 'CVS' -prune -o -type d -print |while read DIR +find . \( -name 'CVS' -prune -o -name '_xlk' -prune \) -o -type d -print | +while read DIR do [ "$DIR" != "." ] && ln -f -s `echo "$DIR" | sed 's;/[^/]*;/..;g'`/ID $DIR/ID done