File: sbin-paths

package info (click to toggle)
pgpool2 4.6.4-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 30,828 kB
  • sloc: ansic: 94,429; yacc: 30,506; sh: 11,500; lex: 3,818; sql: 1,320; makefile: 955; java: 848; asm: 673; php: 125; ruby: 94
file content (29 lines) | stat: -rw-r--r-- 1,169 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
Subject: pgpool_setup + pg_md5 path
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=877851

--- a/src/test/pgpool_setup.in
+++ b/src/test/pgpool_setup.in
@@ -1211,10 +1211,10 @@ if [ -f $PGPOOLDIR/pcp.conf.sample ];the
     cp $PGPOOLDIR/pcp.conf.sample etc/pcp.conf
 fi
 echo -n "${WHOAMI}:" >> etc/pcp.conf
-$PGPOOL_INSTALL_DIR/bin/pg_md5 $WHOAMI >> etc/pcp.conf
+$PGPOOL_INSTALL_DIR/sbin/pg_md5 $WHOAMI >> etc/pcp.conf
 
 # create pool_passwd
-$PGPOOL_INSTALL_DIR/bin/pg_md5 -m -f etc/pgpool.conf -u $WHOAMI $WHOAMI
+$PGPOOL_INSTALL_DIR/sbin/pg_md5 -m -f etc/pgpool.conf -u $WHOAMI $WHOAMI
 
 #-------------------------------------------
 # if streaming replication mode, we need to create data1 and so on, by
--- a/src/test/regression/tests/054.postgres_fdw/test.sh
+++ b/src/test/regression/tests/054.postgres_fdw/test.sh
@@ -43,7 +43,7 @@ EOF
 
 # detach node #1 so that pgpool does not access
 # postgres_fdw. Otherwise it will go into an infinite loop.
-$PGPOOL_INSTALL_DIR/bin/pcp_detach_node -w -h localhost -p $PCP_PORT -n 1
+$PGPOOL_INSTALL_DIR/sbin/pcp_detach_node -w -h localhost -p $PCP_PORT -n 1
 
 if [ $? != 0 ];then
 	echo "pcp_detach_node failed"