Revision 13314
Added by Aaron Marcuse-Kubitza over 10 years ago
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
bugfix: /Makefile: $(pg_ctl-Darwin): need to `cd /` because due to pg_ctl bug, current directory must be accessible by it