Skip to content

Commit 062a79a

Browse files
committed
Allow SHELL in Makefile.* to control initdb.
1 parent 70c1045 commit 062a79a

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

src/bin/initdb/Makefile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
# Portions Copyright (c) 1996-2001, PostgreSQL Global Development Group
66
# Portions Copyright (c) 1994, Regents of the University of California
77
#
8-
# $Header: /cvsroot/pgsql/src/bin/initdb/Makefile,v 1.25 2001/02/18 18:33:59 momjian Exp $
8+
# $Header: /cvsroot/pgsql/src/bin/initdb/Makefile,v 1.26 2001/05/08 16:28:46 momjian Exp $
99
#
1010
#-------------------------------------------------------------------------
1111

@@ -18,6 +18,7 @@ all: initdb
1818
initdb: initdb.sh $(top_builddir)/src/Makefile.global
1919
sed -e 's/@MULTIBYTE@/$(MULTIBYTE)/g' \
2020
-e 's/@VERSION@/$(VERSION)/g' \
21+
-e 's,@SHELL@,$(SHELL),g' \
2122
-e 's,@bindir@,$(bindir),g' \
2223
-e 's,@datadir@,$(datadir),g' \
2324
$< >$@

src/bin/initdb/initdb.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#! /bin/sh
1+
#!@SHELL@
22
#-------------------------------------------------------------------------
33
#
44
# initdb creates (initializes) a PostgreSQL database cluster (site,
@@ -23,7 +23,7 @@
2323
# Portions Copyright (c) 1996-2001, PostgreSQL Global Development Group
2424
# Portions Copyright (c) 1994, Regents of the University of California
2525
#
26-
# $Header: /cvsroot/pgsql/src/bin/initdb/Attic/initdb.sh,v 1.123 2001/03/27 05:45:50 ishii Exp $
26+
# $Header: /cvsroot/pgsql/src/bin/initdb/Attic/initdb.sh,v 1.124 2001/05/08 16:28:46 momjian Exp $
2727
#
2828
#-------------------------------------------------------------------------
2929

0 commit comments

Comments
 (0)