Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit c5d6c7c

Browse files
committed
does not depend on absolute path in reinit-mm.sh
1 parent 1d30a14 commit c5d6c7c

File tree

1 file changed

+10
-4
lines changed

1 file changed

+10
-4
lines changed

tests/reinit-mm.sh

+10-4
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,19 @@
1+
CURPATH=`pwd`
2+
BASEDIR=$CURPATH/../../..
3+
export PATH=$BASEDIR/tmp_install/usr/local/pgsql/bin/:$PATH
4+
export DESTDIR=$BASEDIR/tmp_install
5+
16
n_nodes=3
2-
export PATH=~/code/postgres_cluster/tmp_install/bin/:$PATH
37
ulimit -c unlimited
48
pkill -9 postgres
59

6-
cd ~/code/postgres_cluster/contrib/mmts/
7-
make clean && make install
10+
cd $BASEDIR
11+
make install
812

9-
cd ~/code/postgres_cluster/contrib/mmts/tests
13+
cd $BASEDIR/contrib/mmts
14+
make clean && make install
1015

16+
cd $BASEDIR/contrib/mmts/tests
1117

1218
rm -fr node? *.log
1319
conn_str=""

0 commit comments

Comments
 (0)