Skip to content

Commit 25d88e4

Browse files
committed
Tweak temporary-installation setup so that it doesn't break when the
configured install --prefix begins with /data/...
1 parent 144ec3c commit 25d88e4

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

src/test/regress/pg_regress.sh

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#! /bin/sh
2-
# $Header: /cvsroot/pgsql/src/test/regress/Attic/pg_regress.sh,v 1.15 2000/12/31 18:38:44 tgl Exp $
2+
# $Header: /cvsroot/pgsql/src/test/regress/Attic/pg_regress.sh,v 1.16 2001/01/02 02:13:48 tgl Exp $
33

44
me=`basename $0`
55
: ${TMPDIR=/tmp}
@@ -269,10 +269,11 @@ then
269269
temp_install="`pwd`/$temp_install"
270270
fi
271271

272-
bindir=$temp_install/$bindir
273-
libdir=$temp_install/$libdir
274-
datadir=$temp_install/$datadir
272+
bindir=$temp_install/install/$bindir
273+
libdir=$temp_install/install/$libdir
274+
datadir=$temp_install/install/$datadir
275275
PGDATA=$temp_install/data
276+
276277
if [ "$unix_sockets" = no ]; then
277278
PGHOST=$hostname
278279
export PGHOST
@@ -305,7 +306,7 @@ then
305306
if [ ! -d "$LOGDIR" ]; then
306307
mkdir -p "$LOGDIR" || { (exit 2); exit; }
307308
fi
308-
$GMAKE -C "$top_builddir" DESTDIR="$temp_install" install with_perl=no with_python=no >"$LOGDIR/install.log" 2>&1
309+
$GMAKE -C "$top_builddir" DESTDIR="$temp_install/install" install with_perl=no with_python=no >"$LOGDIR/install.log" 2>&1
309310

310311
if [ $? -ne 0 ]
311312
then

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy