Project

General

Profile

« Previous | Next » 

Revision 13314

bugfix: /Makefile: $(pg_ctl-Darwin): need to `cd /` because due to pg_ctl bug, current directory must be accessible by it

View differences:

trunk/Makefile
160 160
macPostgresLibs := $(macPostgresLibs:%=%.dylib)
161 161

  
162 162
define pg_ctl-Darwin
163
$(asAdmin) pg_ctl -D $(macPostgresDir)/data -l $(macPostgresDir)/data/postgres.log $(1)
163
(cd /; $(asAdmin) pg_ctl -D $(macPostgresDir)/data -l $(macPostgresDir)/data/postgres.log $(1))
164
	# cd: due to pg_ctl bug, current directory must be accessible by it
164 165
sleep 2
165 166
endef
166 167

  

Also available in: Unified diff