Allow SHELL in Makefile.* to control initdb.
This commit is contained in:
parent
70c1045719
commit
062a79a990
@ -5,7 +5,7 @@
|
|||||||
# Portions Copyright (c) 1996-2001, PostgreSQL Global Development Group
|
# Portions Copyright (c) 1996-2001, PostgreSQL Global Development Group
|
||||||
# Portions Copyright (c) 1994, Regents of the University of California
|
# Portions Copyright (c) 1994, Regents of the University of California
|
||||||
#
|
#
|
||||||
# $Header: /cvsroot/pgsql/src/bin/initdb/Makefile,v 1.25 2001/02/18 18:33:59 momjian Exp $
|
# $Header: /cvsroot/pgsql/src/bin/initdb/Makefile,v 1.26 2001/05/08 16:28:46 momjian Exp $
|
||||||
#
|
#
|
||||||
#-------------------------------------------------------------------------
|
#-------------------------------------------------------------------------
|
||||||
|
|
||||||
@ -18,6 +18,7 @@ all: initdb
|
|||||||
initdb: initdb.sh $(top_builddir)/src/Makefile.global
|
initdb: initdb.sh $(top_builddir)/src/Makefile.global
|
||||||
sed -e 's/@MULTIBYTE@/$(MULTIBYTE)/g' \
|
sed -e 's/@MULTIBYTE@/$(MULTIBYTE)/g' \
|
||||||
-e 's/@VERSION@/$(VERSION)/g' \
|
-e 's/@VERSION@/$(VERSION)/g' \
|
||||||
|
-e 's,@SHELL@,$(SHELL),g' \
|
||||||
-e 's,@bindir@,$(bindir),g' \
|
-e 's,@bindir@,$(bindir),g' \
|
||||||
-e 's,@datadir@,$(datadir),g' \
|
-e 's,@datadir@,$(datadir),g' \
|
||||||
$< >$@
|
$< >$@
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#! /bin/sh
|
#!@SHELL@
|
||||||
#-------------------------------------------------------------------------
|
#-------------------------------------------------------------------------
|
||||||
#
|
#
|
||||||
# initdb creates (initializes) a PostgreSQL database cluster (site,
|
# initdb creates (initializes) a PostgreSQL database cluster (site,
|
||||||
@ -23,7 +23,7 @@
|
|||||||
# Portions Copyright (c) 1996-2001, PostgreSQL Global Development Group
|
# Portions Copyright (c) 1996-2001, PostgreSQL Global Development Group
|
||||||
# Portions Copyright (c) 1994, Regents of the University of California
|
# Portions Copyright (c) 1994, Regents of the University of California
|
||||||
#
|
#
|
||||||
# $Header: /cvsroot/pgsql/src/bin/initdb/Attic/initdb.sh,v 1.123 2001/03/27 05:45:50 ishii Exp $
|
# $Header: /cvsroot/pgsql/src/bin/initdb/Attic/initdb.sh,v 1.124 2001/05/08 16:28:46 momjian Exp $
|
||||||
#
|
#
|
||||||
#-------------------------------------------------------------------------
|
#-------------------------------------------------------------------------
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user